aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-06-04 01:20:40 +0300
committerYaroslav <contact@yaroslavps.com>2020-06-04 01:20:40 +0300
commit44db1be546887b375db3543c6fe059fdaaa1a06d (patch)
tree9d517aabd14251f7af82ffcad8ad5b4ac9bd1884 /templates/page.html
parent819ca6773d2b05624f448a234b6734380914cfaa (diff)
downloadyaroslavps.com-44db1be546887b375db3543c6fe059fdaaa1a06d.tar.gz
yaroslavps.com-44db1be546887b375db3543c6fe059fdaaa1a06d.zip
template fixes
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html9
1 files changed, 9 insertions, 0 deletions
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