Django is not Jinja.

I might consider switching to Jinja actually...
newer-dal
LEdoian 4 years ago
parent 5b81445eb7
commit f3f8bca5ed

@ -14,10 +14,10 @@
<meta name=description content="{{ SITE_DESCRIPTION }}"> <meta name=description content="{{ SITE_DESCRIPTION }}">
{% endif %} {% endif %}
<meta name=referref content=no-referer> <meta name=referref content=no-referer>
{# {% comment %}
<meta name=theme-color content=""> <meta name=theme-color content="">
<meta name=color-scheme content="dark"> <meta name=color-scheme content="dark">
#} {% endcomment %}
{# TODO: More meta tags #} {# TODO: More meta tags #}
@ -26,11 +26,10 @@
{# Title setting #} {# Title setting #}
{% if page_title %} {% if page_title %}
{% set final_title = page_title ~ ' ' ~ SITENAME %} <title>{{ page_title }} {{ SITENAME }}</title>
{% else %} {% else %}
{% set final_title = SITENAME %} <title>{{ SITENAME }}</title>
{% endif %} {% endif %}
<title>{{ final_title }}</title>
</head> </head>
<body> <body>

Loading…
Cancel
Save