|
@@ -80,9 +80,9 @@
|
|
|
{{ printf "<link rel=\"stylesheet\" href=\"%s\" integrity=\"%s\" crossorigin=\"anonymous\">" (printf $css.fontAwesome.url $css.fontAwesome.version) $css.fontAwesome.sri | safeHTML }}
|
|
|
{{ printf "<link rel=\"stylesheet\" href=\"%s\" integrity=\"%s\" crossorigin=\"anonymous\">" (printf $css.fancybox.url $css.fancybox.version) $css.fancybox.sri | safeHTML }}
|
|
|
|
|
|
- {{/* Default to enabling highlighting, but allow the user to override it in .Params or site.Params.
|
|
|
+ {{/* Default to disabling 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 }}
|
|
|
+ {{ $scr.Set "highlight_enabled" false }}
|
|
|
{{ if isset .Params "highlight" }}
|
|
|
{{ $scr.Set "highlight_enabled" .Params.highlight }}
|
|
|
{{ else if isset site.Params "highlight" }}
|
|
@@ -160,7 +160,7 @@
|
|
|
{{ partial "marketing/google_tag_manager" . }}
|
|
|
|
|
|
{{/* Netlify Identity integration. */}}
|
|
|
- {{ if .IsHome | and (site.Params.cms.netlify_cms | default true) }}
|
|
|
+ {{ if .IsHome | and (site.Params.cms.netlify_cms | default false) }}
|
|
|
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
|
|
{{ end }}
|
|
|
|