From 99423f57f79499f13d021970c1efb4529072006b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 29 May 2024 16:01:03 +0200 Subject: improve whitespace generation in output files --- templates/section.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html index 9560719..a389c93 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block main %} +{%- block main -%}
{%- if taxonomy.term %}

{{ trans(key="filtering_for",lang=lang)}} "{{ section.title }}"

@@ -9,7 +9,7 @@ {%- endif %}
- {% set tags = get_taxonomy(kind="tags", lang=lang) %} - {% for post in tags.items %} - #{{ post.name }}  - {% endfor %} + {%- set tags = get_taxonomy(kind="tags", lang=lang) %} + {%- for post in tags.items %} + #{{ post.name }}  + {%- endfor %}
-- cgit 1.4.1