From 7819e6b91647546b501fdc179e7fbcb5746e6541 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 | 40 ++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) 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" . }} -- 2.39.5