aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 03:56:47 +0300
commita9168e6f04f766f7d88bc1b24aaa81336098b2fc (patch)
treea4db599140020cfb14803aa4d28b17d52e637a72 /layouts/partials/header.html
parent3b040f1503d90a309f41063d8f760a3e312ab351 (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html18
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