2022-10-14 15:14:38 +00:00
|
|
|
{% for post in postslist | reverse %}
|
|
|
|
<article class="postlist-item">
|
|
|
|
<header class="postlist-header">
|
|
|
|
<h2>
|
|
|
|
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
|
|
|
|
</h2>
|
|
|
|
<ul class="post-metadata">
|
2022-10-14 16:12:36 +00:00
|
|
|
<li><time datetime="{{ post.data.date | htmlDateString }}">{{ post.data.date | readableDate }}</time></li>
|
2022-10-14 15:14:38 +00:00
|
|
|
{%- for tag in post.data.tags | filterTagList %}
|
|
|
|
{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
|
|
|
|
<li><a href="{{ tagUrl }}" class="post-tag">#{{ tag }}</a>{%- if not loop.last %} {% endif %}</li>
|
|
|
|
{%- endfor %}
|
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<p>{{ post.data.description }}</p>
|
|
|
|
<footer class="postlist-footer">
|
|
|
|
<a href="{{ post.url }}">Lire la suite</a>
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|