{{- 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 -}} {{- $sass := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/bundle.scss" . | resources.ToCSS $options | resources.PostCSS -}} {{- $sass = $sass | resources.Fingerprint -}}