diff --git a/src/includes/partials/posts-list.njk b/src/includes/partials/posts-list.njk index 4878fa3..066c9a1 100644 --- a/src/includes/partials/posts-list.njk +++ b/src/includes/partials/posts-list.njk @@ -1,15 +1,21 @@
- {%- for item in collections.post -%} + {%- for post in collections.post | reverse -%}
-

- {{ item.data.title }} -

+ +

+ {{ post.data.title }} +

+
+

- {{ item.data.date }} -

-

- {{ item.data.page.excerpt }} + {{ post.data.page.excerpt }}

+ {% for tag in post.data.tags %} + {% set tagUrl %}/tags/{{ tag | slug }}/{% endset %} + {{ tag }} + {% endfor %}
{%- endfor -%}