From 818b22078c9e106594fe5c0fbcdd4fb7248e15a6 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 13 Jun 2020 18:17:58 +0300 Subject: Added links to recipes, recipe archive, smol template changes --- templates/weblog_archive.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/weblog_archive.html (limited to 'templates/weblog_archive.html') diff --git a/templates/weblog_archive.html b/templates/weblog_archive.html new file mode 100644 index 0000000..b06bdb2 --- /dev/null +++ b/templates/weblog_archive.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block title %} +Weblog archive - Yaroslav's weblog +{% endblock %} +{% block header %} +

Yaroslav's weblog archive

+{% endblock %} +{% 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