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
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M templates/page.html → templates/page.html
@@ -17,9 +17,9 @@ </i> </p> {%- endif %} {%- endif %} - <content> + <main> {{ page.content | safe }} - </content> + </main> <p> {%- if page.taxonomies %} {%- for name, taxon in page.taxonomies %}