From 03a298cf1733fe651b0783e0b92914aaf3a4de96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 30 Mar 2022 01:13:26 +0300 Subject: Add og:site_name meta tag --- templates/page.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 2ee72d6..4c9a18c 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,5 +1,12 @@ {% extends "base.html" %} {% block extrahead %} +{% if page.permalink is containing("weblog") %} + +{% elif page.permalink is containing("food") %} + +{% else %} + +{% endif %} @@ -12,11 +19,11 @@ {% endblock %} {% block title %} {% if page.permalink is containing("weblog") %} -{{ page.title }} - Yaroslav's weblog +{{ page.title }} - {{ trans(key="weblog_title", lang=lang) }} {% elif page.permalink is containing("food") %} -{{ page.title }} - Yaroslav's recipe book +{{ page.title }} - {{ trans(key="recipes_title", lang=lang) }} {% else %} -{{ page.title }} - Yaroslav's website +{{ page.title }} - {{ trans(key="website_title", lang=lang) }} {% endif %} {% endblock %} {% block header %} -- cgit v1.2.3