From 8ba7d8c344c4a313e037f208c82f5c5bc654d266 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 25 Nov 2025 18:27:44 +0100 Subject: [PATCH] WIP:refactor: display terms as term/number-buttons --- .../thymeleaf/layouts/categories/terms.html | 49 ---------------- hugo/themes/thymeleaf/layouts/tags/terms.html | 49 ---------------- hugo/themes/thymeleaf/layouts/taxonomy.html | 56 ++++++++++++++++--- 3 files changed, 49 insertions(+), 105 deletions(-) delete mode 100644 hugo/themes/thymeleaf/layouts/categories/terms.html delete mode 100644 hugo/themes/thymeleaf/layouts/tags/terms.html diff --git a/hugo/themes/thymeleaf/layouts/categories/terms.html b/hugo/themes/thymeleaf/layouts/categories/terms.html deleted file mode 100644 index 35df26d5..00000000 --- a/hugo/themes/thymeleaf/layouts/categories/terms.html +++ /dev/null @@ -1,49 +0,0 @@ -{{- define "custom_css" }} - -{{- end }} -{{- define "main" }} - -{{- if .Title }} - -{{- end }} - - - -{{- end }}{{/* end main */ -}} diff --git a/hugo/themes/thymeleaf/layouts/tags/terms.html b/hugo/themes/thymeleaf/layouts/tags/terms.html deleted file mode 100644 index 35df26d5..00000000 --- a/hugo/themes/thymeleaf/layouts/tags/terms.html +++ /dev/null @@ -1,49 +0,0 @@ -{{- define "custom_css" }} - -{{- end }} -{{- define "main" }} - -{{- if .Title }} - -{{- end }} - - - -{{- end }}{{/* end main */ -}} 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 */ -}} -- 2.39.5