From be0d5a49d7c296118600dbc2cea43ea08576ac8f7010b1b146f742fb5f5c3c22 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <> Date: Thu, 24 Jul 2025 00:00:00 +0000 Subject: Move taxonomy and term layouts to layouts/_default Hugo's template system was reimplemented in Hugo version 0.146.0. "We [the Hugo developers] have aimed to maintain as much backward compatibility as possible by mapping "old to new," but some reported breakages have occurred." Reference: https://gohugo.io/templates/new-templatesystem-overview/ The "mapping "old to new,"" is not yet documented, but moving the taxonomy and term layouts to layouts/_default seems to be sufficient to properly generate this theme on Hugo versions later than 0.146.0. To retain backward compatibility with older Hugo versions, the other recommended changes to the layouts directory are not made. Reference: https://gohugo.io/templates/new-templatesystem-overview/#changes-to-the-layouts-folder --- layouts/_default/term.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 layouts/_default/term.html (limited to 'layouts/_default/term.html') diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..3b268dd --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,14 @@ +{{ define "main" -}} + +
+

{{ .Type | singularize | humanize }} "{{ .Title }}"

+

{{ i18n "feeds" }}

+

{{ emojify ":link:" }} {{ i18n "atomFeed" }}

+

{{ i18n "journalEntries" }}

+ {{- range .Data.Pages.ByPublishDate.Reverse }} + {{ partial "metadata.html" . -}} + {{ end }} +
+{{- end }} \ No newline at end of file -- cgit v1.2.3