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/food_archive.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/food_archive.html (limited to 'templates/food_archive.html') diff --git a/templates/food_archive.html b/templates/food_archive.html new file mode 100644 index 0000000..bd709e2 --- /dev/null +++ b/templates/food_archive.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block title %} +Recipe archive - Yaroslav's recipe book +{% endblock %} +{% block header %} +

Yaroslav's recipe archive

+{% endblock %} +{% block content %} +{% set section = get_section(path="food/_index.md") %} +
+ {% for year, posts in section.pages | group_by(attribute="year") %} +

{{ year }}

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