George Cushen committed 2017-12-31 12:05:28 +00:00
1 parent f72cced47c
commit 09daca6b7d
1 file changed
+3
+3
View File
@@ -18,6 +18,9 @@
{{ $scr := .Scratch }}
{{ partial "css/parse_theme.css" . }}
{{ $sri := .Site.Data.sri }}
{{ if ne ($scr.Get "primary") "#fff" }}
<meta name="theme-color" content="{{ $scr.Get "primary" }}">
{{ end }}
{{/* Default to enabling highlighting, but allow the user to override it in .Params or .Site.Params.
Use $scr to store "highlight_enabled", so that we can read it again in footer.html. */}}
{{ $scr.Set "highlight_enabled" true }}