templates: redo <title> to be "page name | global name" (#73377)
This commit is contained in:
parent
931d1de5b1
commit
6ad4e29034
|
@ -90,7 +90,7 @@
|
|||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %} - {% if render_skeleton %}{% skeleton_extra_placeholder title %}{% firstof page_title site_title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %}{% endblock %}
|
||||
{% block title %}{% if render_skeleton %}{% skeleton_extra_placeholder title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %} | {% firstof global_title site_title "Compte Citoyen" %}{% endblock %}
|
||||
|
||||
{% block header-title %}
|
||||
{% get_asset "header:logo" as header_logo %}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<script src="{% static "portal-agent/js/publik.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block page-title %}{% firstof site_title "Publik" %} - {{ page.title }}{% endblock %}
|
||||
{% block page-title %}{{ page.title }} | {% firstof site_title "Publik" %}{% endblock %}
|
||||
{% block site-title %}{% firstof site_title "Publik" %}{% endblock %}
|
||||
{% block footer %}Combo — Copyright © Entr’ouvert{% endblock %}
|
||||
{% block logout-url %}{{ logout_url }}{% endblock %}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="UTF-8"><!-- 🔥 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% firstof global_title site_title "Compte Citoyen" %} {% block title %}{% endblock %}</title>
|
||||
<title>{% block title %}{% firstof global_title site_title "Compte Citoyen" %}{% endblock %}</title>
|
||||
{% if site_base %}<link rel="preconnect" href="{{ site_base }}">{% endif %}
|
||||
{% if meta_robots %}
|
||||
<meta name="robots" content="{{ meta_robots }}" />
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta charset="UTF-8"><!-- 🔥 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Compte Citoyen :: Montpellier Méditerranée Métropole :: {% block title %}{% endblock %}</title>
|
||||
<title>{% block title %}{% firstof global_title site_title "Compte Citoyen :: Montpellier Méditerranée Métropole" %}{% endblock %}</title>
|
||||
{% if site_base %}<link rel="preconnect" href="{{ site_base }}">{% endif %}
|
||||
{% if meta_robots %}
|
||||
<meta name="robots" content="{{ meta_robots }}" />
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no ">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>{% firstof global_title "Compte Citoyen" %} {% block title %}{% endblock %}</title>
|
||||
<title>{% block title %}{% firstof global_title site_title "Compte Citoyen" %}{% endblock %}</title>
|
||||
{% if meta_robots %}
|
||||
<meta name="robots" content="{{ meta_robots }}" />
|
||||
{% elif environment_label %}
|
||||
|
|
Loading…
Reference in New Issue