diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 693c3b8..b8813c5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,9 +16,11 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Title | safeHTML }} {{ end -}} {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}} + {{- block "head" . -}}{{- end }} {{- range .Site.Params.customCSS }} + {{- end }} {{- if templates.Exists "partials/extra-head.html" -}} @@ -35,10 +37,10 @@ {{ if .Site.Params.code_copy_button | default true -}} {{ $codeCopy := resources.Get "js/code-copy.js" -}} {{ $script := slice $main $codeCopy | resources.Concat "js/bundle.js" | minify | fingerprint -}} - + {{ else -}} {{ $script := $main | minify | fingerprint -}} - + {{ end }} {{- partial "analytics.html" . }}