Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
ab617d66
Commit
ab617d66
authored
Mar 29, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PWA : Fix start url in manifest + fix application name in layout
parent
039e23cb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
layout.html.twig
templates/themes/kohinos/common/layout.html.twig
+2
-2
manifest.json.twig
templates/themes/kohinos/common/manifest.json.twig
+4
-4
index.html.twig
templates/themes/kohinos/index.html.twig
+2
-2
No files found.
templates/themes/kohinos/common/layout.html.twig
View file @
ab617d66
...
...
@@ -12,10 +12,10 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<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=
"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-TileColor"
content=
"#ffffff"
>
<meta
name=
"theme-color"
content=
"#ffffff"
>
...
...
templates/themes/kohinos/common/manifest.json.twig
View file @
ab617d66
{
"lang" : "fr",
"name" : "
{{
KOH_MLC_NAME_SMALL
|
default
(
'Kohinos'
)
}}
",
"short_name" : "
{{
KOH_MLC_NAME_SMALL
|
default
(
'Kohinos'
)
}}
",
"description" : "
{{
KOH_MLC_NAME
|
default
(
'Kohinos'
)
}}
",
"name" : "
{{
KOH_MLC_NAME_SMALL
|
default
(
'Kohinos'
)
}}
",
"short_name" : "
{{
KOH_MLC_NAME_SMALL
|
default
(
'Kohinos'
)
}}
",
"description" : "
{{
KOH_MLC_NAME
|
default
(
'Kohinos'
)
}}
",
"theme_color" : "#ffffff",
"background_color" : "#ffffff",
"start_url" : "
./
",
"start_url" : "
{{
KOH_MLC_URL
|
default
(
"./"
)
}}
",
"display": "fullscreen",
"orientation": "portrait",
"dir" : "ltr",
...
...
templates/themes/kohinos/index.html.twig
View file @
ab617d66
...
...
@@ -3,8 +3,8 @@
{%
block
meta
%}
{{
parent
()
}}
{%
if
KOH_MLC_URL
|
default
(
''
)
!=
''
%}
<link
rel=
"canonical"
href=
"
{{
KOH_MLC_URL
}}
"
/>
<link
rel=
"preconnect"
href=
"
{{
KOH_MLC_URL
}}
"
/>
<link
rel=
"canonical"
href=
"
{{
KOH_MLC_URL
}}
"
/>
<link
rel=
"preconnect"
href=
"
{{
KOH_MLC_URL
}}
"
/>
{%
endif
%}
{%
endblock
meta
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment