diff options
author | Alan Pearce | 2023-04-26 09:08:15 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-26 09:08:15 +0200 |
commit | cdd10696fcbc40078f721f252a8283e40e064f73 (patch) | |
tree | 57af6ba2835dc85e4baf512c4f0c9004eaf09654 /templates/page.html | |
parent | a803508850bb890de5caabda9bbc1552666da6f2 (diff) | |
download | zola-bearblog-cdd10696fcbc40078f721f252a8283e40e064f73.tar.lz zola-bearblog-cdd10696fcbc40078f721f252a8283e40e064f73.tar.zst zola-bearblog-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/page.html')
-rw-r--r-- | templates/page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html index 12f0603..baf6c09 100644 --- a/templates/page.html +++ b/templates/page.html @@ -17,9 +17,9 @@ </p> {%- endif %} {%- endif %} - <content> + <main> {{ page.content | safe }} - </content> + </main> <p> {%- if page.taxonomies %} {%- for name, taxon in page.taxonomies %} |