Make the header actually a <header> HTML element

This commit is contained in:
June 2023-10-28 18:03:07 +02:00 committed by jtbx
parent 3e887ec5b5
commit 5684e3d819
2 changed files with 9 additions and 7 deletions

View file

@ -250,6 +250,8 @@ body>main {
background-color: var(--background-color); background-color: var(--background-color);
border-bottom: 3px solid var(--muted-border-color); border-bottom: 3px solid var(--muted-border-color);
box-shadow: var(--card-box-shadow); box-shadow: var(--card-box-shadow);
padding: 0;
margin: 0;
} }

View file

@ -1,8 +1,8 @@
<div class="main-header header"> <header class="main-header header">
<div class="container"> <div class="container">
<nav class="menu"> <nav class="menu">
{{- partial "menu.html" (dict "menuID" "main" "page" . ) -}} {{- partial "menu.html" (dict "menuID" "main" "page" . ) -}}
</nav> </nav>
</div> </div>
</div> </header>