about summary refs log tree commit diff stats
path: root/templates/section.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-26 09:08:15 +0200
committerAlan Pearce2023-04-26 09:19:20 +0200
commit402d85094185554d6150d6dfd6e76683abf7b663 (patch)
tree2834c26b32cf34e809506c51e6f6ab53e7dc3c9b /templates/section.html
parenta803508850bb890de5caabda9bbc1552666da6f2 (diff)
downloadzola-bearblog-402d85094185554d6150d6dfd6e76683abf7b663.tar.lz
zola-bearblog-402d85094185554d6150d6dfd6e76683abf7b663.tar.zst
zola-bearblog-402d85094185554d6150d6dfd6e76683abf7b663.zip
Move header/footer/main elements into child templates
The <content> tag is not meant for normal HTML, but rather the Shadow
DOM, therefore I replaced it with <main>

For consistency's sake I moved <header> and <footer> into the child
templates as well
Diffstat (limited to 'templates/section.html')
-rw-r--r--templates/section.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/section.html b/templates/section.html
index ed9fd77..e596ffb 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block main %}
-  <content>
+  <main>
     {%- if taxonomy.term %}
       <h3 style="margin-bottom:0">Filtering for "{{ section.title }}"</h3>
       <small>
@@ -34,5 +34,5 @@
         {% endfor %}
       </div>
     </small>
-  </content>
+  </main>
 {% endblock %}