neff-steindesign.de/themes/neff/layouts/partials/head.html

17 lines
763 B
HTML
Executable File

{{- partial "schema/site.html" . -}}
{{- if (eq .Kind "page") -}}
{{- partial "schema/post.html" . -}}
{{- end -}}
{{- if (eq .Kind "home") -}}
{{- partial "schema/post.html" . -}}
{{- end -}}
{{- if (eq .Kind "section") -}}
{{- end -}}
{{- $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed") -}}
{{- if .Site.IsServer -}}
{{- $options := (dict "targetPath" "css/style.css" "enableSourceMap" true) -}}
{{- end -}}
{{- $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true) -}}
{{- $sass := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.PostCSS | resources.Fingerprint "sha512" -}}
<link rel="stylesheet" href="{{ $sass.Permalink }}" integrity="{{ $sass.Data.Integrity }}">