From: Kai Moritz Date: Sat, 22 Nov 2025 14:26:43 +0000 (+0100) Subject: WIP: taxonomy-Template (und: custom_css) X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=fd661cc40d9c03c322bbf79fec9a3c9e9c4875de;p=website WIP: taxonomy-Template (und: custom_css) --- 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 */ -}}