From: Kai Moritz Date: Sat, 22 Nov 2025 14:26:43 +0000 (+0100) Subject: WIP: taxonomy-Template (und: custom_css) X-Git-Tag: hugo--rebase--2025-12-03~3 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=f70ef2d356026828978fc649f3c61e7306c9d824;p=website WIP: taxonomy-Template (und: custom_css) --- diff --git a/hugo/themes/thymeleaf/layouts/_partials/head.html b/hugo/themes/thymeleaf/layouts/_partials/head.html index 02c22401..008382fb 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/head.html +++ b/hugo/themes/thymeleaf/layouts/_partials/head.html @@ -3,3 +3,4 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} +{{ block "custom_css" . }}{{ end }} diff --git a/hugo/themes/thymeleaf/layouts/taxonomy.html b/hugo/themes/thymeleaf/layouts/taxonomy.html index c2e78751..35df26d5 100644 --- a/hugo/themes/thymeleaf/layouts/taxonomy.html +++ b/hugo/themes/thymeleaf/layouts/taxonomy.html @@ -1,7 +1,49 @@ -{{ define "main" }} -

{{ .Title }}

- {{ .Content }} - {{ range .Pages }} -

{{ .LinkTitle }}

- {{ end }} -{{ end }} +{{- define "custom_css" }} + +{{- end }} +{{- define "main" }} + +{{- if .Title }} + +{{- end }} + + + +{{- end }}{{/* end main */ -}}