From: Frédéric Péters Date: Fri, 3 Feb 2023 19:42:38 +0000 (+0100) Subject: templates: redo to have specific first X-Git-Tag: v2024~27 X-Git-Url: https://git.0d.be/?p=panikweb-studioneau.git;a=commitdiff_plain;h=8a8f52a728b0c75c5372bcc66c5b77b164b83d00 templates: redo <title> to have specific first --- diff --git a/panikweb_studioneau/templates/base.html b/panikweb_studioneau/templates/base.html index e3bfff4..0f74d99 100644 --- a/panikweb_studioneau/templates/base.html +++ b/panikweb_studioneau/templates/base.html @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8" /> - <title>{{ radio_name }} - {% block title %}{% endblock %} + {% block htmltitle %}{% block title %}{% endblock %} | {{ radio_name }}{% endblock %} diff --git a/panikweb_studioneau/templates/home.html b/panikweb_studioneau/templates/home.html index 1d3fb45..c791c8f 100644 --- a/panikweb_studioneau/templates/home.html +++ b/panikweb_studioneau/templates/home.html @@ -1,7 +1,8 @@ {% extends "base.html" %} {% load paniktags staticfiles i18n %} {% block bodyID %}Home{% endblock %} -{% block title %}{% trans 'Home' %}{% endblock %} + +{% block htmltitle %}{{ radio_long_name }}{% endblock %} {% block main %}