diff options
-rw-r--r-- | templates/archive.html | 5 | ||||
-rw-r--r-- | templates/page.html | 9 | ||||
-rw-r--r-- | templates/weblog.html | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/templates/archive.html b/templates/archive.html index a605b40..b06bdb2 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,6 +1,9 @@ {% extends "base.html" %} +{% block title %} +Weblog archive - Yaroslav's weblog +{% endblock %} {% block header %} - <h1>Yaroslav's weblog archive</h1> +<h1>Yaroslav's weblog archive</h1> {% endblock %} {% block content %} {% set section = get_section(path="weblog/_index.md") %} 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 %} <h1>{{ page.title }}</h1> <p class="publish-date">Published {{ page.date | date(format="%b %d, %Y diff --git a/templates/weblog.html b/templates/weblog.html index 8bace98..d3d6407 100644 --- a/templates/weblog.html +++ b/templates/weblog.html @@ -5,6 +5,7 @@ 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 %} +A website by Yaroslav de la Peña Smirnov {% endif %} {% endblock %} {% block header %} |