about summary refs log tree commit diff stats
path: root/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorAlan Pearce2024-05-29 16:01:03 +0200
committerAlan Pearce2024-05-29 16:01:03 +0200
commit99423f57f79499f13d021970c1efb4529072006b (patch)
treeaab3b0280ba6eabddb8ce8589538f9efb080a271 /templates/taxonomy_single.html
parentdea01a9d2d2853af740aff8d11f573a70e7c4962 (diff)
downloadzola-bearblog-99423f57f79499f13d021970c1efb4529072006b.tar.lz
zola-bearblog-99423f57f79499f13d021970c1efb4529072006b.tar.zst
zola-bearblog-99423f57f79499f13d021970c1efb4529072006b.zip
improve whitespace generation in output files
Diffstat (limited to 'templates/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index 9c9cebb..ea58c99 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 
-{% block main %}
+{%- block main -%}
   <main>
     {%- if term %}
       <h3 class="filter">Filtering for "{{ term.name }}"</h3>
@@ -9,7 +9,7 @@
       </small>
     {%- endif %}
     <ul class="blog-posts">
-      {% for page in term.pages %}
+      {%- for page in term.pages %}
         <li>
           <span>
             <i>
@@ -20,11 +20,11 @@
           </span>
           <a href="{{ page.permalink }}">{{ page.title }}</a>
         </li>
-      {% else %}
+      {%- else %}
         <li>
           {{ trans(key="no_posts", lang=lang) }}
         </li>
-      {% endfor %}
+      {%- endfor %}
     </ul>
   </main>
-{% endblock %}
+{%- endblock -%}