-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (25 loc) · 928 Bytes
/
index.html
File metadata and controls
32 lines (25 loc) · 928 Bytes
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
---
layout: default
main_css_classname: homepage
---
<div class="home">
<ul class="post-link-list list-unstyled">
{% for post in site.posts %}
{% assign authors = post.author | split: "," %}
<li class="post-link-item">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-link-item--title">{{ post.title }}</h2>
</a>
<span class="post-link-item--meta">Publié le {% include format_date.html date=post.date %}
par
{% for author in authors %}
{% assign authorInfo = site.data.authors[author] %}
<span class="post--author">
{{ authorInfo.name }}{% if forloop.last != true %}, {% endif %}
</span>
{% endfor %}
</span>
</li>
{% endfor %}
</ul>
</div>