From a1a03d989b3f99e5178d10b7c0ecc2172c08e7b9 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 22 Nov 2025 15:26:43 +0100 Subject: [PATCH] WIP: taxonomy-Template (und: custom_css) --- layouts/_partials/head.html | 1 + layouts/taxonomy.html | 56 ++++++++++++++++++++++++++++++++----- 2 files changed, 50 insertions(+), 7 deletions(-) diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 4e1069c4..49ad1072 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -35,6 +35,7 @@ {{- $ie8 := resources.Get "scss/ie8.scss" | toCSS | minify | fingerprint }} +{{ block "custom_css" . }}{{ end }} diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html index c2e78751..35df26d5 100644 --- a/layouts/taxonomy.html +++ b/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