Commit dabe2fd8 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

tuc2014: Update <title> Once again

parent cab16ea9
Pipeline #15703 passed with stage
in 30 seconds
......@@ -21,15 +21,17 @@ def tucal(request):
today =
haupttitel = getattr(settings, 'TUCAL_HAUPTTITEL', '')
return {
'tucal_autor': getattr(settings, 'TUCAL_AUTOR', 'Webmaster'),
'tucal_haupttitel': getattr(settings, 'TUCAL_HAUPTTITEL', ''),
'tucal_haupttitel': haupttitel,
'tucal_impressum': getattr(settings, 'TUCAL_IMPRESSUM', '//'),
'tucal_keywords': getattr(settings, 'TUCAL_KEYWORDS', ''),
'tucal_language_uri': language_uri,
'tucal_last_modified': today,
'tucal_logos': getattr(settings, 'TUCAL_LOGOS', []),
'tucal_titel': getattr(settings, 'TUCAL_TITEL', ''),
'tucal_titel': getattr(settings, 'TUCAL_TITEL', haupttitel),
'tucal_url': request.build_absolute_uri(),
'tucal_year': "{}".format(today.year),
<!DOCTYPE html>
<html lang="{{LANGUAGE_CODE}}">
<title>{% block tucal_title %}{{tucal_haupttitel}} | TU Chemnitz{% endblock %}</title>
<title>{% block tucal_title %}{{tucal_titel}} | TU Chemnitz{% endblock %}</title>
<meta charset="utf-8">
<meta name="author" content="{{tucal_autor}}">
<meta name="dcterms.coverage" content="Worldwide">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment