diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c9b4934..e477a29 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,8 +1,12 @@ -<nav> - <ul> - <li> - <a href="/"><img class="logo" src="{{ .Site.Params.Logo }}" /><strong>{{ .Site.Title }}</strong></a> - </li> - </ul> - {{ partial "hmenu.html" (dict "menuID" "main" "page" .) }} +<nav class="navbar navbar-expand-lg bg-dark" data-bs-theme="dark"> + <div class="container"> + <a class="navbar-brand" href="/">{{ .Site.Title }}</a> + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarSupportedContent"> + {{ partial "hmenu.html" (dict "menuID" "main" "page" .) }} + </div> + </div> </nav> +</ul>
\ No newline at end of file |