diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 23:11:43 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 23:11:43 -0500 |
commit | f0d46211a55c30406174f395a92d80bd0899f2a7 (patch) | |
tree | 5cc924af279c0857d707fe42e3aff7f78f4f20bf /generators/hugo/themes/tdro/layouts/_default/taxonomy.html | |
parent | 302372a9f2315b67572f53e3998cde253a3335e9 (diff) | |
download | thedroneely.com-f0d46211a55c30406174f395a92d80bd0899f2a7.tar.gz thedroneely.com-f0d46211a55c30406174f395a92d80bd0899f2a7.tar.bz2 thedroneely.com-f0d46211a55c30406174f395a92d80bd0899f2a7.zip |
generators/hugo/content: Add comprehensive archiving
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/taxonomy.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/taxonomy.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/taxonomy.html b/generators/hugo/themes/tdro/layouts/_default/taxonomy.html index e25fda0..678d292 100644 --- a/generators/hugo/themes/tdro/layouts/_default/taxonomy.html +++ b/generators/hugo/themes/tdro/layouts/_default/taxonomy.html @@ -1,4 +1,5 @@ {{ define "main" }} +{{ $sidenote := "<span class=\"marginnote rightnote\">See an archive of all taxonomies <a href=\"/archives/tags/\">here.</a></span>" }} <section class="section is-fullheight" itemscope itemtype="http://schema.org/AboutPage"> <div class="container"> <div class="columns is-centered"> @@ -6,6 +7,8 @@ {{ $title := .Title }} {{ if eq $title "Tags" }} <article class="content"> + <h1 class="article__list title is-3">Taxonomies</h1> + {{ safeHTML $sidenote }} {{ range .Paginator.Pages }} {{ $title := .Title }} <h1 class="article__list smallcaps title">{{ .Title | title }}</h1> @@ -32,6 +35,7 @@ <h1 class="smallcaps title"> {{ if ne $title "Tags" }} <a href="/{{ .Data.Plural }}/">Tags</a> <span>—</span> <span>{{ end }}{{ .Title | title }}</span> </h1> + {{ safeHTML $sidenote }} {{ range $taxonomy := .Site.Taxonomies }} {{ range $tag, $article := $taxonomy }} {{ if eq $tag $title }} |