diff options
Diffstat (limited to 'templates/weblog.html')
-rw-r--r-- | templates/weblog.html | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/templates/weblog.html b/templates/weblog.html index d3d6407..8b2eec6 100644 --- a/templates/weblog.html +++ b/templates/weblog.html @@ -1,21 +1,31 @@ {% 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 %} -A website by Yaroslav de la Peña Smirnov -{% endif %} + {% 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 %} + A website by Yaroslav de la Peña Smirnov + {% 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 %} + {% 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 sbdesc %} + {% if section.permalink is containing("weblog") %} + <p>Hello, my name is Yaroslav de la Peña Smirnov, welcome to my weblog. + Sometimes I write software, sometimes I might write my mind here. </p> + {% elif section.permalink is containing("food") %} + <p>Here I keep some of the recipes for food that I cook. Nothing really + special in here, just food that I find delicious, and generally not very + expensive nor time consuming to cook.</p> + {% endif %} {% endblock %} {% block content %} <div class="posts-list"> |