From c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Apr 2023 14:53:30 +0200 Subject: Reformat templates --- templates/section.html | 66 +++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html index c0808f8..ed9fd77 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,38 +1,38 @@ {% extends "base.html" %} {% block main %} - - {%- if taxonomy.term %} -

Filtering for "{{ section.title }}"

- - Remove filter - - {%- endif %} - - -
- {% set tags = get_taxonomy(kind="tags") %} - {% for post in tags.items %} - #{{ post.name }}  + + {%- if taxonomy.term %} +

Filtering for "{{ section.title }}"

+ + Remove filter + + {%- endif %} +
    + {% for page in section.pages %} +
  • + + + + + + {{ page.title }} +
  • + {% else %} +
  • + No posts yet +
  • {% endfor %} -
-
-
+ + +
+ {% set tags = get_taxonomy(kind="tags") %} + {% for post in tags.items %} + #{{ post.name }}  + {% endfor %} +
+
+ {% endblock %} -- cgit 1.4.1