From f3f8bca5edb4c39c6bf8913cf5e81d5e99fd9323 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 16 Feb 2021 05:13:23 +0100 Subject: [PATCH] Django is not Jinja. I might consider switching to Jinja actually... --- utils/templates/base.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/utils/templates/base.html b/utils/templates/base.html index 7b52548..92a8cec 100644 --- a/utils/templates/base.html +++ b/utils/templates/base.html @@ -14,10 +14,10 @@ {% endif %} - {# + {% comment %} - #} + {% endcomment %} {# TODO: More meta tags #} @@ -26,11 +26,10 @@ {# Title setting #} {% if page_title %} - {% set final_title = page_title ~ ' – ' ~ SITENAME %} + {{ page_title }} – {{ SITENAME }} {% else %} - {% set final_title = SITENAME %} + {{ SITENAME }} {% endif %} - {{ final_title }}