From 743eed9cdaa865f04fc369a798c53685a4ac3a1c Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 9 Dec 2025 20:22:55 +0100 Subject: [PATCH] Sassified CSS in das `head`-Partial eingebunden --- layouts/_partials/head.html | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 02c22401..12df9e67 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -1,5 +1,39 @@ {{ 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" . }} -- 2.39.5