refactor: remove archive page
This commit is contained in:
@@ -4,14 +4,7 @@ eleventyNavigation:
|
||||
key: Tous les articles
|
||||
order: 3
|
||||
---
|
||||
<ul class="article-list">
|
||||
{%- for post in collections.posts | reverse %}
|
||||
<li>
|
||||
<div>
|
||||
<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>
|
||||
<h1>Tous les articles</h1>
|
||||
|
||||
{% set postslist = collections.posts %}
|
||||
{% include "postslist.njk" %}
|
||||
|
@@ -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