diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-06-03 23:56:17 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-06-03 23:56:17 +0300 |
commit | 1ca5ffca2b402f59ace003f9c1eee79e3b9a677c (patch) | |
tree | a79ba6b3ebec61421a41410b20e7a52fc45d4ba6 /templates/weblog.html | |
parent | 93e66d4088b348899715e1f1a891c8a6092f4116 (diff) | |
download | yaroslavps.com-1ca5ffca2b402f59ace003f9c1eee79e3b9a677c.tar.gz yaroslavps.com-1ca5ffca2b402f59ace003f9c1eee79e3b9a677c.zip |
new recipes section, first recipe
Diffstat (limited to 'templates/weblog.html')
-rw-r--r-- | templates/weblog.html | 14 |
1 files changed, 14 insertions, 0 deletions
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") %} <h1>Yaroslav's weblog</h1> +{% elif section.permalink is containing("food") %} +<h1>Yaroslav's recipe book</h1> +{% else %} +<h1>Yaroslav's website</h1> +{% endif %} {% endblock %} {% block content %} <div class="posts-list"> |