diff options
author | Nicholas Johnson <> | 2025-07-26 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <> | 2025-07-26 00:00:00 +0000 |
commit | 9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3 (patch) | |
tree | 887dd23c15ddd56b850a4901b3161808bb37f1b1872fa40cbd2e2de877c3d77d /layouts/taxonomy.html | |
parent | c1dc7133883e38b6c6ddf110df1868162862159994b2f9454999454f48417e58 (diff) | |
download | hugo-theme-journal-9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3.tar.gz hugo-theme-journal-9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3.zip |
Migrate fully to Hugo's new template system
This was the only way I could get term pages to consistently render
correctly.
Diffstat (limited to 'layouts/taxonomy.html')
-rw-r--r-- | layouts/taxonomy.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/taxonomy.html b/layouts/taxonomy.html new file mode 100644 index 0000000..86d7f89 --- /dev/null +++ b/layouts/taxonomy.html @@ -0,0 +1,16 @@ +{{ define "main" -}} +<nav> + <p>{{ emojify ":link:" }} <a class="link link--internal" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p> +</nav> +<main> + <h1>{{ .Type | humanize }}</h1> + <h2>{{ i18n "feeds" }}</h2> + <p>{{ emojify ":link:" }} <a class="link link--internal" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer">{{ i18n "atomFeed" }}</a></p> + <h2>{{ i18n "list" }}</h2> + <ul class="list"> + {{- range .Data.Pages }} + <li class="list__item">{{ emojify ":link:" }} <a class="link link--internal" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></li> + {{- end }} + </ul> +</main> +{{- end }}
\ No newline at end of file |