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/archive.html | 20 -------------------- templates/base.html | 14 ++++++++++++-- templates/food_archive.html | 20 ++++++++++++++++++++ templates/index.html | 2 +- templates/weblog.html | 38 ++++++++++++++++++++++++-------------- templates/weblog_archive.html | 20 ++++++++++++++++++++ 6 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644 templates/archive.html create mode 100644 templates/food_archive.html create mode 100644 templates/weblog_archive.html (limited to 'templates') diff --git a/templates/archive.html b/templates/archive.html deleted file mode 100644 index b06bdb2..0000000 --- a/templates/archive.html +++ /dev/null @@ -1,20 +0,0 @@ -{% 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 %} diff --git a/templates/base.html b/templates/base.html index ccb167a..2974335 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,9 +28,11 @@