diff options
author | Alan Pearce | 2023-04-26 13:14:30 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-26 13:14:30 +0200 |
commit | 65800cdbeadc21ee4a469361d6b70c2189a0fe0f (patch) | |
tree | 9ce8a2c6881990fa26b7a9b025c71e650c873865 /templates/page.html | |
parent | 111c6b45bfe83c9ff3cee9081392d9a645af8160 (diff) | |
download | zola-bearblog-65800cdbeadc21ee4a469361d6b70c2189a0fe0f.tar.lz zola-bearblog-65800cdbeadc21ee4a469361d6b70c2189a0fe0f.tar.zst zola-bearblog-65800cdbeadc21ee4a469361d6b70c2189a0fe0f.zip |
Improve whitespacing in HTML
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/page.html b/templates/page.html index baf6c09..48b920e 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,8 +1,6 @@ {% extends "base.html" %} -{% block title %} -{{ page.title }} | {{ super() }} -{% endblock %} +{% block title %}{{ page.title }} | {{ super() }}{% endblock %} {% block main %} {%- if not page.extra.menu %} @@ -11,14 +9,14 @@ <p> <i> <time datetime='{{ page.date | date(format='%+') }}' pubdate> - {{ page.date | date(format=config.extra.date_format) }} + {{- page.date | date(format=config.extra.date_format) -}} </time> </i> </p> {%- endif %} {%- endif %} <main> - {{ page.content | safe }} + {{ page.content | indent | safe }} </main> <p> {%- if page.taxonomies %} |