From 44db1be546887b375db3543c6fe059fdaaa1a06d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Thu, 4 Jun 2020 01:20:40 +0300 Subject: template fixes --- templates/page.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 36e34b8..699bd96 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,4 +1,13 @@ {% extends "base.html" %} +{% block title %} +{% if page.permalink is containing("weblog") %} +{{ page.title }} - Yaroslav's weblog +{% elif page.permalink is containing("food") %} +{{ page.title }} - Yaroslav's recipe book +{% else %} +{{ page.title }} - Yaroslav's website +{% endif %} +{% endblock %} {% block header %}

{{ page.title }}

Published {{ page.date | date(format="%b %d, %Y -- cgit v1.2.3