{{- if hugo.IsServer -}} {{- $options := (dict "targetPath" "styles.css" "includePaths" (slice "node_modules") "enableSourceMap" true ) -}} {{- $styles := resources.Get "scss/main.scss" | toCSS $options }} {{- else -}} {{- $options := (dict "targetPath" "styles.css" "includePaths" (slice "node_modules") ) -}} {{- $styles := resources.Get "scss/main.scss" | toCSS $options | minify -}} {{- end }} {{ $options := (dict "targetPath" "print.css" ) -}} {{- $print := resources.Get "css/gutenberg.css" | toCSS $options | minify -}} {{ range .AlternativeOutputFormats }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end }} {{ partial "metadata.html" . -}}