mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 01:31:37 -05:00
Change <header> to be entire top bar
This is more semantically correct. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/banner_role
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="top">
|
||||
<header class="header">
|
||||
<header class="top">
|
||||
<div class="brand">
|
||||
<a href="{{ .Site.Home.Permalink | absLangURL }}">
|
||||
{{ .Site.Title | markdownify }}
|
||||
</a>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
<nav class="navbar" aria-label="{{ i18n "aria_navbar" }}">
|
||||
{{ with .Site.Home }}
|
||||
@@ -21,4 +21,4 @@
|
||||
href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user