{{- with .Site.Params.themeColor }} {{- end }} {{- partial "structured-data.html" . }} {{- partial "favicons.html" }} {{.Title}} {{ range .AlternativeOutputFormats -}} {{ 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" -}} {{ partial "extra-head.html" . }} {{- end }} {{ block "header" . -}}{{ end -}} {{ block "main" . -}}{{ end -}} {{ block "footer" . -}}{{ end }} {{ $main := resources.Get "js/main.js" -}} {{ 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" . }} {{- if templates.Exists "partials/extra-foot.html" -}} {{ partial "extra-foot.html" . }} {{- end }}