svg favicon, manifest support
This commit is contained in:
parent
af3611dd5e
commit
fd9a1f26b1
|
@ -15,10 +15,13 @@
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||||
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||||
{{ with .Site.Params.piwikTrackerUrl }}<link rel="dns-prefetch" href="https://{{ . }}">{{ end }}
|
|
||||||
{{ with $.Param "microusername" }}<link rel="me" href="https://micro.blog/{{ . }}">{{ end }}
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
|
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
|
||||||
|
<link rel="shortcut icon" href="{{ "favicon.png" | relURL }}" type="image/x-icon">
|
||||||
|
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon">
|
||||||
|
<link rel="icon" href="{{ "logo.svg" | relURL }}" sizes="any" type="image/svg+xml" />
|
||||||
|
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
||||||
|
|
||||||
{{ if $.Param "realfavicongenerator" -}}
|
{{ if $.Param "realfavicongenerator" -}}
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
|
||||||
|
|
Loading…
Reference in New Issue