diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-06-13 18:17:58 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-06-13 18:17:58 +0300 |
commit | 818b22078c9e106594fe5c0fbcdd4fb7248e15a6 (patch) | |
tree | 7082f7d217cc878d38ab08271ab139ce431d09e7 /templates/weblog.html | |
parent | 8066b03372131ac206cafc4fe5735ebdf88cf31e (diff) | |
download | yaroslavps.com-818b22078c9e106594fe5c0fbcdd4fb7248e15a6.tar.gz yaroslavps.com-818b22078c9e106594fe5c0fbcdd4fb7248e15a6.zip |
Added links to recipes, recipe archive, smol template changes
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"> |