From 8a8f52a728b0c75c5372bcc66c5b77b164b83d00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 3 Feb 2023 20:42:38 +0100 Subject: [PATCH] templates: redo to have specific first --- panikweb_studioneau/templates/base.html | 2 +- panikweb_studioneau/templates/home.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 %} -- 2.39.2