about summary refs log tree commit diff stats
path: root/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorAlan Pearce2024-02-09 14:06:50 +0100
committerAlan Pearce2024-02-09 14:06:50 +0100
commit5e9c829bd70a14ada0818976011b59bf6babbae9 (patch)
tree9b08fb9c8bec002ad7ab66d13c3569d532cd341b /templates/taxonomy_single.html
parent0347efbadcfe627acd25dd5138d295773c7e5594 (diff)
downloadzola-bearblog-5e9c829bd70a14ada0818976011b59bf6babbae9.tar.lz
zola-bearblog-5e9c829bd70a14ada0818976011b59bf6babbae9.tar.zst
zola-bearblog-5e9c829bd70a14ada0818976011b59bf6babbae9.zip
Display tag header on single-tag pages
Fixes https://codeberg.org/alanpearce/zola-bearblog/issues/3
Diffstat (limited to 'templates/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index be0f2ad..b46e07f 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -2,7 +2,7 @@
 
 {% block main %}
   <main>
-    {%- if taxonomy.term %}
+    {%- if term %}
       <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3>
       <small>
         <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a>