From f8541ef965ca22e746b523eb418e47cb4f78f2d8 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 9 Jan 2026 12:24:05 +0100 Subject: Upgrade to new template system from Hugo v0.146.0 --- layouts/partials/head/css.html | 21 ------------------- layouts/partials/head/js.html | 16 -------------- layouts/partials/head/meta.html | 27 ------------------------ layouts/partials/head/seo.html | 46 ----------------------------------------- 4 files changed, 110 deletions(-) delete mode 100644 layouts/partials/head/css.html delete mode 100644 layouts/partials/head/js.html delete mode 100644 layouts/partials/head/meta.html delete mode 100644 layouts/partials/head/seo.html (limited to 'layouts/partials/head') diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html deleted file mode 100644 index d4e894e..0000000 --- a/layouts/partials/head/css.html +++ /dev/null @@ -1,21 +0,0 @@ -{{- with resources.Get "css/main.css" -}} - {{- $allStylesheets := slice - . - (resources.Get "css/header.css") - (resources.Get "css/navmenu.css") - (resources.Get "css/footer.css") - (resources.Get "css/post-card.css") - (resources.Get "css/page.css") - (resources.Get "css/post.css") - (resources.Get "css/list-navigation.css") - (resources.Get "css/search.css") - -}} - {{- $cssBundle := $allStylesheets | resources.Concat "css/bundle.css" -}} - - {{- if hugo.IsDevelopment -}} - - {{- else -}} - {{- $css := $cssBundle | minify | fingerprint -}} - - {{- end -}} -{{- end -}} diff --git a/layouts/partials/head/js.html b/layouts/partials/head/js.html deleted file mode 100644 index 0baf831..0000000 --- a/layouts/partials/head/js.html +++ /dev/null @@ -1,16 +0,0 @@ -{{- with resources.Get "js/main.js" }} - {{- $opts := dict - "minify" (not hugo.IsDevelopment) - "sourceMap" (cond hugo.IsDevelopment "external" "") - "targetPath" "js/main.js" - }} - {{- with . | js.Build $opts }} - {{- if hugo.IsDevelopment }} - - {{- else }} - {{- with . | fingerprint }} - - {{- end }} - {{- end }} - {{- end }} -{{- end -}} diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html deleted file mode 100644 index f739838..0000000 --- a/layouts/partials/head/meta.html +++ /dev/null @@ -1,27 +0,0 @@ -{{- /* Basic Meta */ -}} - - - -{{- /* Open Graph */ -}} - - - - - -{{- with site.Params.logo }} - -{{- end }} -{{- if .IsPage }} - - {{- with .Lastmod }} - - {{- end }} -{{- end }} - -{{- /* Twitter Card */ -}} - - - -{{- with site.Params.logo }} - -{{- end }} diff --git a/layouts/partials/head/seo.html b/layouts/partials/head/seo.html deleted file mode 100644 index 628ea2c..0000000 --- a/layouts/partials/head/seo.html +++ /dev/null @@ -1,46 +0,0 @@ - -- cgit v1.2.3