diff --git a/v4/layouts/partials/css.html b/v4/layouts/partials/css.html index 16abc99ce..9b7a69c1b 100644 --- a/v4/layouts/partials/css.html +++ b/v4/layouts/partials/css.html @@ -4,13 +4,13 @@ {{ $darkCss := resources.Get "sass/dark-theme.scss" | resources.ExecuteAsTemplate "dark-theme.scss" . | toCSS $darkOptions }} {{ if or (.Site.IsServer) (eq hugo.Environment "development") }} - - + + {{ else }} - {{ $css := $css | resources.Minify | resources.Fingerprint }} - - {{ $darkCss := $darkCss | resources.Minify | resources.Fingerprint }} - + {{ $css := $css | resources.Minify | resources.Fingerprint }} + + {{ $darkCss := $darkCss | resources.Minify | resources.Fingerprint }} + {{ end }} {{ if isset .Site.Params "css_modules" }}