all repos — zola-bearblog @ cdd10696fcbc40078f721f252a8283e40e064f73

Port of bear blog theme to zola

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

cdd10696fcbc40078f721f252a8283e40e064f73

parent

a803508850bb890de5caabda9bbc1552666da6f2

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

changed files
M templates/section.htmltemplates/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 @@ <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
{% endfor %} </div> </small> - </content> + </main> {% endblock %}