From 54e4a732484c120d9f95fe3451da932859cf7473 Mon Sep 17 00:00:00 2001 From: wires Date: Tue, 29 Jul 2025 14:37:32 -0400 Subject: fix stuff for new version of hugo --- layouts/_partials/head.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 layouts/_partials/head.html (limited to 'layouts/_partials/head.html') diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html new file mode 100644 index 0000000..2fe366d --- /dev/null +++ b/layouts/_partials/head.html @@ -0,0 +1,21 @@ + + +{{ with (or .Description .Site.Params.description) }} + +{{ end }} +{{ with .Keywords }}{{ end }} + + +{{ range slice "style.css" "syntax.css"}} +{{- with resources.Get . }} + {{- if eq hugo.Environment "development" }} + + {{- else }} + {{- with . | minify | fingerprint }} + + {{- end }} + {{- end }} +{{- end }} +{{ end }} +{{ printf "%s | %s" .Title site.Title }} + -- cgit 1.4.1