]> git.0d.be Git - panikweb.git/commitdiff
redo html <title> to have radio name last v2023
authorFrédéric Péters <fpeters@0d.be>
Fri, 20 Jan 2023 19:28:24 +0000 (20:28 +0100)
committerFrédéric Péters <fpeters@0d.be>
Fri, 20 Jan 2023 19:28:24 +0000 (20:28 +0100)
panikweb/templates/base.html
panikweb/templates/home.html

index 0c5572369d3c31f3895095979f066addbbf6c6d4..9ccaa2d5a283f82c6d8c1222d20ee1f8c3fe91ed 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="fr">
 <head>
     <meta charset="UTF-8" />
-    <title>{{ radio_name }} - {% block title %}{% endblock %}</title>
+    <title>{% block htmltitle %}{% block title %}{% endblock %} | {{ radio_name }}{% endblock %}</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="icon" href="{{ STATIC_URL }}img/favicon-16.png" type="image/png" sizes="16x16">
     <link rel="icon" href="{{ STATIC_URL }}img/favicon-32.png" type="image/png" sizes="32x32">
index 49d572a4df2d475cc4d5cca9dd53006cd972150e..8132c008ab687498a771ffbbf204d88cfd8d2ca3 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 {% load paniktags staticfiles i18n %}
 {% block bodyID %}Home{% endblock %}
-{% block title %}{% trans 'Home' %}{% endblock %}
+{% block htmltitle %}{{ radio_name }}{% endblock %}
 
 {% block head %}
 {{ block.super }}