From 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 27 Mar 2022 19:19:28 -0700 Subject: init --- templates/posts.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/posts.html (limited to 'templates/posts.html') diff --git a/templates/posts.html b/templates/posts.html new file mode 100644 index 0000000..7aee3a7 --- /dev/null +++ b/templates/posts.html @@ -0,0 +1,5 @@ +{% extends "base.html" %}{% block content %}{% set section_item = get_section(path="_index.md") %} +
{% for year, posts in section_item.pages | group_by(attribute="year") %} +

{{ year }}

+ {% for post in posts %}

{{ post.title }} - {{ post.date | date(format="%F") }}

{% endfor %}{% endfor %} +
{% endblock content %} -- cgit v1.3.1