diff --git a/themes/aurelia-theme/layouts/partials/head.html b/themes/aurelia-theme/layouts/partials/head.html index 7bbadbb..b80f815 100644 --- a/themes/aurelia-theme/layouts/partials/head.html +++ b/themes/aurelia-theme/layouts/partials/head.html @@ -18,14 +18,4 @@ {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -{{ $styles := resources.Get "css/main.css" }} -{{ $styles = $styles | css.TailwindCSS }} - -{{ if hugo.IsProduction }} - {{ $styles = $styles | minify | fingerprint }} - -{{ else }} - -{{ end }} - diff --git a/themes/aurelia-theme/layouts/partials/head/css.html b/themes/aurelia-theme/layouts/partials/head/css.html index 91b928d..63bb28a 100644 --- a/themes/aurelia-theme/layouts/partials/head/css.html +++ b/themes/aurelia-theme/layouts/partials/head/css.html @@ -1,9 +1,9 @@ -{{- with resources.Get "css/main.css" }} - {{- if eq hugo.Environment "development" }} - - {{- else }} - {{- with . | minify | fingerprint }} - - {{- end }} - {{- end }} -{{- end }} +{{ $styles := resources.Get "css/main.css" }} +{{ $styles = $styles | css.TailwindCSS }} + +{{ if hugo.IsProduction }} + {{ $styles = $styles | minify | fingerprint }} + +{{ else }} + +{{ end }} \ No newline at end of file