about summary refs log tree commit diff stats
path: root/templates/page.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-18 14:53:30 +0200
committerAlan Pearce2023-04-18 14:53:30 +0200
commitc78a3f2301caa3dc4c03d3b2a75f4f003e5863d0 (patch)
tree988cee910507c521d83080cc36a7c2e1665451ef /templates/page.html
parent4df500c33f3d3ba7b9387a2bc0447850a04d15c8 (diff)
downloadzola-bearblog-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.lz
zola-bearblog-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.tar.zst
zola-bearblog-c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0.zip
Reformat templates
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html48
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 %}