Commit ab617d66 by Julien Jorry

PWA : Fix start url in manifest + fix application name in layout

parent 039e23cb
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="application-name" content="Kohinos"/> <meta name="application-name" content="{{ KOH_MLC_NAME_SMALL|default('Kohinos') }}"/>
<meta name="mobile-web-app-capable" content="yes"/> <meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="Kohinos"/> <meta name="apple-mobile-web-app-title" content="{{ KOH_MLC_NAME_SMALL|default('Kohinos') }}"/>
<meta name="msapplication-starturl" content="/"> <meta name="msapplication-starturl" content="/">
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
......
{ {
"lang" : "fr", "lang" : "fr",
"name" : "{{KOH_MLC_NAME_SMALL|default('Kohinos')}}", "name" : "{{ KOH_MLC_NAME_SMALL|default('Kohinos') }}",
"short_name" : "{{KOH_MLC_NAME_SMALL|default('Kohinos')}}", "short_name" : "{{ KOH_MLC_NAME_SMALL|default('Kohinos') }}",
"description" : "{{KOH_MLC_NAME|default('Kohinos')}}", "description" : "{{ KOH_MLC_NAME|default('Kohinos') }}",
"theme_color" : "#ffffff", "theme_color" : "#ffffff",
"background_color" : "#ffffff", "background_color" : "#ffffff",
"start_url" : "./", "start_url" : "{{ KOH_MLC_URL|default("./") }}",
"display": "fullscreen", "display": "fullscreen",
"orientation": "portrait", "orientation": "portrait",
"dir" : "ltr", "dir" : "ltr",
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
{% block meta %} {% block meta %}
{{ parent() }} {{ parent() }}
{% if KOH_MLC_URL|default('') != '' %} {% if KOH_MLC_URL|default('') != '' %}
<link rel="canonical" href="{{KOH_MLC_URL}}"/> <link rel="canonical" href="{{ KOH_MLC_URL }}"/>
<link rel="preconnect" href="{{KOH_MLC_URL}}"/> <link rel="preconnect" href="{{ KOH_MLC_URL }}"/>
{% endif %} {% endif %}
{% endblock meta %} {% endblock meta %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment