diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-29 13:53:48 -0400 |
| commit | 41924391280f3ab06396dc9f88a2e4117904f853 (patch) | |
| tree | 279d79c2548408a9d80fad9605370a43ed700e89 /site/themes/hugo-starter/layouts/partials/nav.html | |
| parent | bc678e31c9dbc1a33febe8f5a5107ab2eab5aa62 (diff) | |
made site
Diffstat (limited to 'site/themes/hugo-starter/layouts/partials/nav.html')
| -rw-r--r-- | site/themes/hugo-starter/layouts/partials/nav.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/site/themes/hugo-starter/layouts/partials/nav.html b/site/themes/hugo-starter/layouts/partials/nav.html new file mode 100644 index 0000000..cef3405 --- /dev/null +++ b/site/themes/hugo-starter/layouts/partials/nav.html @@ -0,0 +1,17 @@ +<header class="site-header"> + <nav class="navbar"> + <div> + <a class="logo" href="{{ .Site.BaseURL }}"> + {{ .Site.Title }} + </a> + <button type="button" id="toggleTheme" data-theme-toggle aria-label="switch theme"></button> + </div> + <ul class="nav-links"> + {{ range.Site.Menus.main }} + <li> + <a href="{{ .URL }}">{{ .Name }}</a> + </li> + {{ end }} + </ul> + </nav> +</header> |
