{{- $cdn := .Scratch.Get "cdn" | default dict -}} {{- $fingerprint := .Scratch.Get "fingerprint" -}} {{- if .PrevInSection -}} {{- end -}} {{- if .NextInSection -}} {{- end -}} {{- with .OutputFormats.Get "RSS" -}} {{- end -}} {{- /* normalize.css */ -}} {{- $source := $cdn.normalizeCSS | default "lib/normalize/normalize.min.css" -}} {{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}} {{- partial "plugin/stylesheet.html" $stylesheet -}} {{- /* style.min.css */ -}} {{- $stylesheet := dict "source" "css/style.template.scss" "fingerprint" $fingerprint -}} {{- $targetPath := cond .Site.IsMultiLingual (printf "css/style.%s.min.css" .Language.Lang) "css/style.min.css" -}} {{- $options := dict "targetPath" $targetPath "includePaths" (slice "config/css") -}} {{- $stylesheet = dict "template" "style.scss" "context" . "toCSS" $options | merge $stylesheet -}} {{- partial "plugin/stylesheet.html" $stylesheet -}} {{- /* Font Awesome */ -}} {{- $source := $cdn.fontawesomeFreeCSS | default "lib/fontawesome-free/all.min.css" -}} {{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}} {{- partial "plugin/stylesheet.html" $stylesheet -}} {{- /* Animate.css */ -}} {{- $source := $cdn.animateCSS | default "lib/animate/animate.min.css" -}} {{- $stylesheet := dict "source" $source "fingerprint" $fingerprint -}} {{- partial "plugin/stylesheet.html" $stylesheet -}}