about summary refs log tree commit diff stats
path: root/templates/page.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-26 13:24:52 +0200
committerAlan Pearce2023-04-26 13:24:52 +0200
commit40881d13b8042cb0fabf9a92ed38a21cdf6c8d2e (patch)
tree919174143ede711d352ea3a3ca1c89e9bde6c6af /templates/page.html
parent2ca8f6cefd0dad72ab4e19d29dd0bbf36e9ee021 (diff)
parentccdba539bd37dbe83a7a8f773a6568b6ca93cd5f (diff)
downloadwebsite-40881d13b8042cb0fabf9a92ed38a21cdf6c8d2e.tar.lz
website-40881d13b8042cb0fabf9a92ed38a21cdf6c8d2e.tar.zst
website-40881d13b8042cb0fabf9a92ed38a21cdf6c8d2e.zip
Merge branch 'main' into microformats2
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html8
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 %}