From 9ca43a0db73c8023fbd531cc743786e1462e206c Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Thu, 27 Jan 2022 22:14:04 +0100 Subject: [PATCH] taxonomies got separated in its listings... --- layouts/taxonomy/list.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 22689d7..8fb772e 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -3,14 +3,16 @@ {{ if eq (len $p) 1 }}
{{ index $p 0 }}⁄All
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }} - {{ range $key, $value := $taxonomy }} - {{ $key }}({{ len (index $.Site.Taxonomies.keywords $key) }}) + {{ if eq (index $p 0) $taxonomyname }} + {{ range $key, $value := $taxonomy }} + {{ $key }}({{ len (index (index $.Site.Taxonomies $taxonomyname) $key) }}) + {{ end }} {{ end }} {{ end }} {{ else }}
{{ index $p 0 }}⁄{{ index $p 1 }}
{{ range .Pages }} -
  • {{ .Title }}
  • - {{ end }} +
  • {{ .Title }}
  • + {{ end }} {{ end }} {{ end }}