theme color param for meta tag
This commit is contained in:
parent
812b14ad74
commit
7e4098210d
|
@ -4,6 +4,8 @@ description = "The Zzo theme for Hugo example site."
|
|||
custom_css = []
|
||||
custom_js = []
|
||||
useFaviconGenerator = true # https://www.favicon-generator.org/
|
||||
meta_image = ""
|
||||
themecolor = ""
|
||||
|
||||
themeOptions = ["dark", "light", "hacker", "solarized", "kimbie"]
|
||||
notAllowedTypesInHome = ["contact", "talks", "about", "showcase", "publication", "presentation", "resume"]
|
||||
|
|
|
@ -28,7 +28,12 @@
|
|||
{{ end }}
|
||||
{{ hugo.Generator }}
|
||||
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
<!-- Windows Phone -->
|
||||
<meta name="msapplication-navbutton-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
<!-- iOS Safari -->
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="{{ $.Param "themecolor" | default "#ffffff" }}">
|
||||
<link rel="canonical" href="{{ .Permalink | absLangURL }}">
|
||||
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
||||
{{ if $.Site.Params.useFaviconGenerator }}
|
||||
|
|
Loading…
Reference in New Issue