all repos — website @ 402d85094185554d6150d6dfd6e76683abf7b663

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

402d85094185554d6150d6dfd6e76683abf7b663

parent

a803508850bb890de5caabda9bbc1552666da6f2

1 file changed, 6 insertions(+), 4 deletions(-)

changed files
M templates/header.htmltemplates/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>