mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
feat: enable site admin to disable WebAppManifest (#2056)
This commit is contained in:
parent
6bcba757cd
commit
f35d4b1858
2 changed files with 6 additions and 0 deletions
|
@ -174,7 +174,10 @@
|
|||
<link rel="alternate" href="{{.RelPermalink}}" type="application/rss+xml" title="{{site.Title}}">
|
||||
{{ end }}
|
||||
|
||||
{{ if site.Home.OutputFormats.Get "WebAppManifest" }}
|
||||
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
||||
{{ end }}
|
||||
|
||||
<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}}">
|
||||
|
||||
|
|
|
@ -12,7 +12,10 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="generator" content="Source Themes Academic {{ site.Data.academic.version }}">
|
||||
|
||||
{{ if site.Home.OutputFormats.Get "WebAppManifest" }}
|
||||
<link rel="manifest" href="{{ "index.webmanifest" | relLangURL }}">
|
||||
{{ end }}
|
||||
|
||||
<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}}">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue