about summary refs log tree commit diff stats
path: root/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorAlan Pearce2023-04-26 09:08:15 +0200
committerAlan Pearce2023-04-26 09:08:15 +0200
commitcdd10696fcbc40078f721f252a8283e40e064f73 (patch)
tree57af6ba2835dc85e4baf512c4f0c9004eaf09654 /templates/taxonomy_single.html
parenta803508850bb890de5caabda9bbc1552666da6f2 (diff)
downloadwebsite-cdd10696fcbc40078f721f252a8283e40e064f73.tar.lz
website-cdd10696fcbc40078f721f252a8283e40e064f73.tar.zst
website-cdd10696fcbc40078f721f252a8283e40e064f73.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/taxonomy_single.html')
-rw-r--r--templates/taxonomy_single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
index 460679d..d5712b0 100644
--- a/templates/taxonomy_single.html
+++ b/templates/taxonomy_single.html
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block main %}
-  <content>
+  <main>
     {%- if taxonomy.term %}
       <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3>
       <small>
@@ -26,5 +26,5 @@
         </li>
       {% endfor %}
     </ul>
-  </content>
+  </main>
 {% endblock %}