all repos — homestead @ 1e0b5b86c034d6205aa1ba1ff42bc40b9f60cf63

Code for my website

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

Alan Pearce
commit

1e0b5b86c034d6205aa1ba1ff42bc40b9f60cf63

parent

b95136c7d0647c1544ab9ff0408dfe2c9ac06845

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M templates/taxonomy_single.htmltemplates/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 @@ No posts yet
</li> {% endfor %} </ul> - </content> + </main> {% endblock %}