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/weblog.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'templates/weblog.html') diff --git a/templates/weblog.html b/templates/weblog.html index 43ebbdb..8bace98 100644 --- a/templates/weblog.html +++ b/templates/weblog.html @@ -1,6 +1,20 @@ {% extends "base.html" %} +{% block title %} +{% if section.permalink is containing("weblog") %} +A weblog by Yaroslav de la Peña Smirnov +{% elif section.permalink is containing("food") %} +A collection of recipes by Yaroslav de la Peña Smirnov +{% else %} +{% endif %} +{% endblock %} {% block header %} +{% if section.permalink is containing("weblog") %}

Yaroslav's weblog

+{% elif section.permalink is containing("food") %} +

Yaroslav's recipe book

+{% else %} +

Yaroslav's website

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