diff options
author | Alan Pearce | 2023-04-18 14:53:30 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-18 14:53:30 +0200 |
commit | c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0 (patch) | |
tree | 988cee910507c521d83080cc36a7c2e1665451ef /templates/page.html | |
parent | 4df500c33f3d3ba7b9387a2bc0447850a04d15c8 (diff) | |
download | website-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.lz website-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.zst website-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.zip |
Reformat templates
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 48 |
1 files changed, 24 insertions, 24 deletions
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 %} -<h1>{{ page.title }}</h1> -{%- if page.date %} -<p> - <i> - <time datetime='{{ page.date | date(format='%+') }}' pubdate> - {{ page.date | date(format=config.extra.date_format) }} - </time> - </i> -</p> -{%- endif %} -{%- endif %} -<content> - {{ page.content | safe }} -</content> -<p> - {%- if page.taxonomies %} - {%- for name, taxon in page.taxonomies %} - {{ name | capitalize }}: - {%- for item in taxon %} - <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a> - {%- endfor %} - {%- endfor %} + {%- if not page.extra.menu %} + <h1>{{ page.title }}</h1> + {%- if page.date %} + <p> + <i> + <time datetime='{{ page.date | date(format='%+') }}' pubdate> + {{ page.date | date(format=config.extra.date_format) }} + </time> + </i> + </p> + {%- endif %} {%- endif %} -</p> + <content> + {{ page.content | safe }} + </content> + <p> + {%- if page.taxonomies %} + {%- for name, taxon in page.taxonomies %} + {{ name | capitalize }}: + {%- for item in taxon %} + <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a> + {%- endfor %} + {%- endfor %} + {%- endif %} + </p> {% endblock %} |