{{- $outputFormat := partial "output-format.hugo" . }} {{- $assetBusting := partialCached "assetbusting.hugo" . }} {{- /* https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use */}} {{- $themevariants := partialCached "get-theme-variants.hugo" . }} {{- with index $themevariants 0 }} {{- end }} {{- $f := printf "/static/css/format-%s.css" $outputFormat }} {{- if or (partialCached "fileExists.hugo" $f $f) (resources.Get (printf "/css/format-%s.css" $outputFormat)) }} {{- end }}