Remove meta tag msapplication-TileColor and only set meta tag theme-color when param is set.
This commit is contained in:
parent
5c0093bd37
commit
119823143e
1 changed files with 1 additions and 2 deletions
|
|
@ -16,8 +16,7 @@
|
|||
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
||||
{{ with $.Param "image" }}<meta property="og:image" content="{{ . | absURL }}">{{ end }}
|
||||
{{ hugo.Generator }}
|
||||
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
{{ with $.Param "themecolor" }}<meta name="theme-color" content="{{ . }}">{{ end }}
|
||||
{{ 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 }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue