From da4917f8c673a16ba757b3b911cf5ce36895d74e Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 11 Mar 2020 02:26:54 +0300 Subject: initial commit --- templates/archive.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/archive.html (limited to 'templates/archive.html') diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..68daf65 --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block content %} +{% set section = get_section(path="weblog/_index.md") %} +
+ {% for year, posts in section.pages | group_by(attribute="year") %} +

{{ year }}

+ + {% endfor %} +
+{% endblock %} -- cgit v1.2.3