montpellier: sync theme.html head with standard theme, for PWA (#69623)
This commit is contained in:
parent
fa01f00512
commit
464b6dd0de
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"label": "Montpellier",
|
||||
"variables": {
|
||||
"favicon": "montpellier/favicon.png",
|
||||
"theme_color": "#EA5B0C"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
{% load gadjo i18n static %}
|
||||
<html>
|
||||
<html {% if LANGUAGE_CODE %}lang="{{ LANGUAGE_CODE }}"{% endif %} {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
|
||||
<head>
|
||||
<meta charset="UTF-8"><!-- 🔥 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-language" content="fr" />
|
||||
<title>Compte Citoyen :: Montpellier Méditerranée Métropole :: {% block title %}{% endblock %}</title>
|
||||
<link rel="shortcut icon" href="{{ site_base }}{% static "montpellier/favicon.png" %}" />
|
||||
{% if site_base %}<link rel="preconnect" href="{{ site_base }}">{% endif %}
|
||||
{% if meta_robots %}
|
||||
<meta name="robots" content="{{ meta_robots }}" />
|
||||
{% elif environment_label %}
|
||||
|
@ -16,11 +14,32 @@
|
|||
{% endif %}
|
||||
{% block extra_top_head %}
|
||||
{% endblock %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static 'montpellier/style.css' %}?{% start_timestamp %}">
|
||||
{% if meta_description %}
|
||||
<meta name="description" content="{{ meta_description }}" />
|
||||
{% endif %}
|
||||
{% if meta_keywords %}
|
||||
<meta name="keywords" content="{{ meta_keywords }}" />
|
||||
{% endif %}
|
||||
{% block meta_icons %}{% endblock %}
|
||||
{% if theme_color %}
|
||||
<meta name="theme-color" content="{{theme_color}}">
|
||||
<meta name="msapplication-navbutton-color" content="{{theme_color}}">
|
||||
{% endif %}
|
||||
<meta name="apple-mobile-web-app-title" content="{{ pwa_settings.get_application_name }}">
|
||||
<link rel="manifest" href="{{site_base}}/manifest.json">
|
||||
{% if pwa_display == "standalone" %}
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
{% endif %}
|
||||
{% block extra_top_head %}
|
||||
{% endblock %}
|
||||
{{ media }}
|
||||
{% block css-variant %}
|
||||
{% if css_variant %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}{{css_variant}}/style.css?{% start_timestamp %}">
|
||||
{% else %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "style.css" %}?{% start_timestamp %}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block extra_css %}
|
||||
{% endblock %}
|
||||
{% block extra_scripts %}
|
||||
|
|
Loading…
Reference in New Issue