refactor: remove archive page
This commit is contained in:
@@ -4,14 +4,7 @@ eleventyNavigation:
|
|||||||
key: Tous les articles
|
key: Tous les articles
|
||||||
order: 3
|
order: 3
|
||||||
---
|
---
|
||||||
<ul class="article-list">
|
<h1>Tous les articles</h1>
|
||||||
{%- for post in collections.posts | reverse %}
|
|
||||||
<li>
|
{% set postslist = collections.posts %}
|
||||||
<div>
|
{% include "postslist.njk" %}
|
||||||
<a href="{{ post.url }}">{{ post.data.title }}</a>
|
|
||||||
<time datetime="{{ post.data.date | htmlDateString }}">{{ post.data.date | htmlDateString }}</time>
|
|
||||||
</div>
|
|
||||||
<p>{{ post.data.description }}</p>
|
|
||||||
</li>
|
|
||||||
{%- endfor %}
|
|
||||||
</ul>
|
|
||||||
|
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
layout: home.njk
|
|
||||||
eleventyNavigation:
|
|
||||||
key: Archives
|
|
||||||
order: 2
|
|
||||||
---
|
|
||||||
<h1>Archive</h1>
|
|
||||||
|
|
||||||
{% set postslist = collections.posts %}
|
|
||||||
{% include "postslist.njk" %}
|
|
Reference in New Issue
Block a user