From 1ca5ffca2b402f59ace003f9c1eee79e3b9a677c Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 3 Jun 2020 23:56:17 +0300 Subject: new recipes section, first recipe --- templates/page.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 5fc80db..36e34b8 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,9 +1,13 @@ {% extends "base.html" %} -{% set post = page %} {% block header %}

{{ page.title }}

Published {{ page.date | date(format="%b %d, %Y - %H:%M UTC") }} on Yaroslav's weblog

+ %H:%M UTC") }} on + {% if page.permalink is containing("weblog") %} + Yaroslav's weblog

+ {% elif page.permalink is containing("food") %} + Yaroslav's recipe book

+ {% endif %} {% endblock %} {% block content %}
-- cgit v1.2.3