mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Regis Philibert
14.31.2021 f2ba99b7d24d8acf10094f3c958e5d118158fa3e
layouts/partials/site-style.html
@@ -6,7 +6,7 @@
    `use` setting allow us to skip the postcss.config file.
     */}}
    {{ $options := (dict "targetPath" "/ananke/css/main.css" "enableSourceMap" true "precision" 6 "includePaths" (slice "node_modules")) }}
    {{ $style := . | resources.ToCSS $options | resources.PostCSS (dict "use" "postcss-cssnext") | minify }}
    {{ $style := . | resources.ToCSS $options | resources.PostCSS | minify }}
    {{/* We fingerprint in production to ensure cache busting */}}
    {{ if eq (getenv "HUGO_ENV") "production" }}
      {{ $style = . | fingerprint }}