feat: review the home page
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<div class="post-list">
|
||||
{% for post in postslist | reverse %}
|
||||
<article class="postlist-item">
|
||||
<header class="postlist-header">
|
||||
<article class="post-list-item">
|
||||
<header class="post-list-header">
|
||||
<h2>
|
||||
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
|
||||
<a href="{{ post.url }}" class="post-list-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
|
||||
</h2>
|
||||
<ul class="post-metadata">
|
||||
<li class="post-metadata__header">Le <time datetime="{{ post.data.date | htmlDateString }}">{{ post.data.date | readableDate }}</time> {{ post.data.authors | readableAuthors }}</li>
|
||||
@@ -13,8 +14,9 @@
|
||||
</ul>
|
||||
</header>
|
||||
<p>{{ post.data.resume }}</p>
|
||||
<footer class="postlist-footer">
|
||||
<footer class="post-list-footer">
|
||||
<a href="{{ post.url }}">Lire la suite</a>
|
||||
</footer>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user