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/page.html | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 6651d15..12f0603 100644 --- a/templates/page.html +++ b/templates/page.html @@ -5,29 +5,29 @@ {% endblock %} {% block main %} -{%- if not page.extra.menu %} -

{{ page.title }}

-{%- if page.date %} -

- - - -

-{%- endif %} -{%- endif %} - - {{ page.content | safe }} - -

- {%- if page.taxonomies %} - {%- for name, taxon in page.taxonomies %} - {{ name | capitalize }}: - {%- for item in taxon %} - #{{ item }} - {%- endfor %} - {%- endfor %} + {%- if not page.extra.menu %} +

{{ page.title }}

+ {%- if page.date %} +

+ + + +

+ {%- endif %} {%- endif %} -

+ + {{ page.content | safe }} + +

+ {%- if page.taxonomies %} + {%- for name, taxon in page.taxonomies %} + {{ name | capitalize }}: + {%- for item in taxon %} + #{{ item }} + {%- endfor %} + {%- endfor %} + {%- endif %} +

{% endblock %} -- cgit 1.4.1