From c356a28e6d6f711ea49dc47fb29139261867de20 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Sun, 22 Feb 2026 11:32:38 +0100 Subject: [PATCH] feat: improve tag list display --- themes/hugo-sustain/layouts/_default/list.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/themes/hugo-sustain/layouts/_default/list.html b/themes/hugo-sustain/layouts/_default/list.html index 4ff2954..cfe79ad 100644 --- a/themes/hugo-sustain/layouts/_default/list.html +++ b/themes/hugo-sustain/layouts/_default/list.html @@ -11,7 +11,7 @@
{{- if $selection }} -

{{ (printf "Everything from %s \"%s\"" (.Data.Singular | humanize) (humanize .Title)) | markdownify }}

+

{{ (printf "Everything from %s \"%s\"" (.Data.Singular | humanize) .Title) | markdownify }}

{{- else }}

{{ .Title }}

{{- end }} @@ -53,11 +53,10 @@
All - {{ range $name, $taxonomy := .Site.Taxonomies.tags }} - - {{- humanize $name -}} - - {{- end -}} + {{ $tags := site.GetPage "/tags" }} + {{ range sort $tags.Pages "Title" "asc"}} + {{ .LinkTitle }} + {{ end }}