From: Kai Moritz Date: Tue, 9 Dec 2025 19:22:55 +0000 (+0100) Subject: Sassified CSS in das `head`-Partial eingebunden X-Git-Tag: frontend--hugo--rebase--2025-12-21--19-20~34 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=9ca81935265a154b0d5414dd0c46e070da0a39e2;p=website Sassified CSS in das `head`-Partial eingebunden --- diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 02c22401..4e1069c4 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -1,5 +1,43 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} -{{ partialCached "head/css.html" . }} + + + +{{- $base := resources.Get "scss/base.scss" | toCSS | minify | fingerprint }} + +{{- $screen := resources.Get "scss/screen.scss" | toCSS | minify | fingerprint }} + +{{- $print := resources.Get "scss/print.scss" | toCSS | minify | fingerprint }} + + + + + +{{- $tablet := resources.Get "scss/tablet.scss" | toCSS | minify | fingerprint }} + + + +{{- $phone := resources.Get "scss/phone.scss" | toCSS | minify | fingerprint }} + + + +{{- $tiny := resources.Get "scss/tiny.scss" | toCSS | minify | fingerprint }} + + + + + + + + + + + + {{ partialCached "head/js.html" . }}