aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorelliot_ <112902069+akatiggerx04@users.noreply.github.com>2022-09-07 01:00:22 +0300
committerelliot_ <112902069+akatiggerx04@users.noreply.github.com>2022-09-07 01:00:22 +0300
commitcd01e380e0850490c54f2103c1311146cb4cfe4c (patch)
tree65cd112151c4e64e67716d1e76047f1510c79676 /layouts/partials/header.html
parent8ce57dd09293660fe8fd8d31c626049223522a17 (diff)
downloadgraysx-kovok-cd01e380e0850490c54f2103c1311146cb4cfe4c.tar.gz
First Main Commit
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..203d04f
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,17 @@
+<!-- Navigation-->
+<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
+ <div class="container px-4 px-lg-5">
+ <a class="navbar-brand" href="#page-top"><img src="{{ .Site.Params.logo }}"></a>
+ <button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
+ Menu
+ <i class="fas fa-bars"></i>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarResponsive">
+ <ul class="navbar-nav ms-auto">
+ {{ range site.Menus.main }}
+ <li class="nav-item"><a class="nav-link" href="{{ .URL }}">{{ .Name }}</a></li>
+ {{ end }}
+ </ul>
+ </div>
+ </div>
+</nav> \ No newline at end of file