diff options
author | Alan Pearce | 2023-04-26 09:08:15 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-26 09:19:20 +0200 |
commit | 402d85094185554d6150d6dfd6e76683abf7b663 (patch) | |
tree | 2834c26b32cf34e809506c51e6f6ab53e7dc3c9b /templates/header.html | |
parent | a803508850bb890de5caabda9bbc1552666da6f2 (diff) | |
download | website-402d85094185554d6150d6dfd6e76683abf7b663.tar.lz website-402d85094185554d6150d6dfd6e76683abf7b663.tar.zst website-402d85094185554d6150d6dfd6e76683abf7b663.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/header.html')
-rw-r--r-- | templates/header.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/header.html b/templates/header.html index 64c79f0..db5b921 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,4 +1,6 @@ -<a href="{{ config.base_url }}" class="title"> - <h2>{{ config.title }}</h2> -</a> -<nav>{% include "nav.html" %}</nav> +<header> + <a href="{{ config.base_url }}" class="title"> + <h2>{{ config.title }}</h2> + </a> + <nav>{% include "nav.html" %}</nav> +</header> |