aboutsummaryrefslogtreecommitdiff
path: root/templates/weblog.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/weblog.html')
-rw-r--r--templates/weblog.html14
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">