{{- $CDN := .Scratch.Get "CDN" -}} {{- if .PrevInSection -}} {{- end -}} {{- if .NextInSection -}} {{- end -}} {{- with .OutputFormats.Get "RSS" -}} {{- end -}} {{- /* style.min.css */ -}} {{- $res := resources.Get "css/style.template.scss" -}} {{- $options := dict "targetPath" "css/style.min.css" -}} {{- $options = dict "includePaths" (slice "config/css") | merge $options -}} {{- $options = dict "outputStyle" "compressed" | merge $options -}} {{- $options = dict "enableSourceMap" true | merge $options -}} {{- $res = resources.ExecuteAsTemplate "style.scss" . $res | toCSS $options -}} {{- /* Font Awesome https://fontawesome.com/ */ -}} {{- with $CDN.fontawesomeFreeCSS -}} {{- . | safeHTML -}} {{- else -}} {{- $res := resources.Get "css/lib/fontawesome-free/all.min.css" -}} {{- end -}} {{- /* Animate.css https://github.com/daneden/animate.css */ -}} {{- with $CDN.animateCSS -}} {{- . | safeHTML -}} {{- else -}} {{ $res := resources.Get "css/lib/animate/animate.min.css" -}} {{- end -}}