From 818b22078c9e106594fe5c0fbcdd4fb7248e15a6 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 13 Jun 2020 18:17:58 +0300 Subject: Added links to recipes, recipe archive, smol template changes --- templates/weblog.html | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'templates/weblog.html') 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") %} -

Yaroslav's weblog

-{% elif section.permalink is containing("food") %} -

Yaroslav's recipe book

-{% else %} -

Yaroslav's website

-{% endif %} + {% if section.permalink is containing("weblog") %} +

Yaroslav's weblog

+ {% elif section.permalink is containing("food") %} +

Yaroslav's recipe book

+ {% else %} +

Yaroslav's website

+ {% endif %} +{% endblock %} +{% block sbdesc %} + {% if section.permalink is containing("weblog") %} +

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.

+ {% elif section.permalink is containing("food") %} +

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.

+ {% endif %} {% endblock %} {% block content %}
-- cgit v1.2.3