This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
76 lines (69 loc) · 2.68 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
layout: base
title: BlaBlaCar's Tech department
---
<div class="hero">
<h1><strong>SHARE MORE,<br>LEARN MORE</strong></h1>
<p class="lead">One of BlaBlaCar's values explains probably best <i>"la raison d'être"</i> of this blog.</p>
</div>
<div class="clearfix">
<div class="follow-us pull-right">
<ol class="list-unstyled clearfix">
<li class="pull-left">
<a href="https://github.com/blablacar">
<img src="../images/github.svg" alt="BlaBlaCar GitHub page" width="26">
</a>
</li>
<li class="pull-left">
<a href="https://twitter.com/BlaBlaCarEng">
<img src="../images/twitter.svg" alt="BlaBlaTech Twitter page" width="26">
</a>
</li>
<li class="pull-left">
<a href="https://blablacar.com/engineering-blog">
<img src="../images/medium.svg" alt="BlaBlaTech Medium page" width="26">
</a>
</li>
</ol>
</div>
</div>
<div class="gradient-separator"></div>
{% assign post = site.posts.first %}
<article itemscope itemtype="http://schema.org/BlogPosting" class="post-preview">
<header>
<h1 itemprop="name"><a href="{{ post.url }}" class="post-title">{{ post.title }}</a></h1>
<div class="text-center author-container">
{% for author in post.authors %}
<img src="/images/authors/{{ author }}.png" alt="{{ author[1].nickname }}">
{% endfor %}
<p class="meta no-margin text-center">
{% assign post_details_authors = post.authors %}
{% assign post_details_date = post.date %}
{% assign post_details_tags = post.tags %}
{% include post_details.html %}
</p>
</div>
</header>
<div class="blog-intro">
{{ post.content | truncatewords:100 | strip_html }}
<a href="{{ post.url }}" class="button block read-more">read more</a>
</div>
</article>
{% if site.posts.size > 1 %}
<section class="previous">
<h3>Older posts</h3>
<ul class="list-unstyled previous-list">
{% for post in site.posts offset:1 limit:5 %}
<li class="previous-list--item clearfix">
{% for author in post.authors %}
<img src="/images/authors/{{ author }}.png" alt="{{ author[1].nickname }}" class="pull-left">
{% endfor %}
<p class="overflow no-margin">
{{ post.date | date: "%Y-%m-%d" }}<br>
<a href="{{ post.url }}">{{ post.title }}</a>
</p>
</li>
{% endfor %}
</ul>
</section>
{% endif %}