mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 12:13:46 +00:00
feat: enable site admin to disable WebAppManifest (#2056)
This commit is contained in:
1 parent
6bcba757cd
commit
f35d4b1858
2 files changed
+6
No files matched your search
@@ -174,7 +174,10 @@
|
|||||||
<link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
|
<link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if site.Home.OutputFormats.Get "WebAppManifest" }}
|
||||||
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="{{(partial "functions/get_icon" 32).RelPermalink}}">
|
<link rel="icon" type="image/png" href="{{(partial "functions/get_icon" 32).RelPermalink}}">
|
||||||
<link rel="apple-touch-icon" type="image/png" href="{{(partial "functions/get_icon" 192).RelPermalink}}">
|
<link rel="apple-touch-icon" type="image/png" href="{{(partial "functions/get_icon" 192).RelPermalink}}">
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,10 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="generator" content="Source Themes Academic {{ site.Data.academic.version }}">
|
<meta name="generator" content="Source Themes Academic {{ site.Data.academic.version }}">
|
||||||
|
|
||||||
|
{{ if site.Home.OutputFormats.Get "WebAppManifest" }}
|
||||||
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="{{(partial "functions/get_icon" 32).RelPermalink}}">
|
<link rel="icon" type="image/png" href="{{(partial "functions/get_icon" 32).RelPermalink}}">
|
||||||
<link rel="apple-touch-icon" type="image/png" href="{{(partial "functions/get_icon" 192).RelPermalink}}">
|
<link rel="apple-touch-icon" type="image/png" href="{{(partial "functions/get_icon" 192).RelPermalink}}">
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user