about summary refs log tree commit diff stats
path: root/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorAlan Pearce2024-05-28 23:23:33 +0200
committerAlan Pearce2024-05-28 23:23:33 +0200
commita70fb3f413a205390b45943007400d5d9a06a72b (patch)
tree2ca6b45c37ddd89054e46d523d5cd6e3c3c3c133 /templates/taxonomy_single.html
parentfe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2 (diff)
parent995c4f6eff9a601c75c39d40f945c8a70d710d95 (diff)
downloadzola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.lz
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.zst
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.zip
Merge branch 'main' into microformats2 microformats2
Diffstat (limited to 'templates/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index d5712b0..9c9cebb 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -2,10 +2,10 @@
 
 {% block main %}
   <main>
-    {%- if taxonomy.term %}
-      <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3>
+    {%- if term %}
+      <h3 class="filter">Filtering for "{{ term.name }}"</h3>
       <small>
-        <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a>
+        <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">{{ trans(key="remove_filter", lang=lang) }}</a>
       </small>
     {%- endif %}
     <ul class="blog-posts">
@@ -22,7 +22,7 @@
         </li>
       {% else %}
         <li>
-          No posts yet
+          {{ trans(key="no_posts", lang=lang) }}
         </li>
       {% endfor %}
     </ul>