diff options
| author | triethyl <triethylammonium@pm.me> | 2025-10-13 12:00:03 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-10-13 12:00:03 -0400 |
| commit | 2496db965db4fa48197cb31c7750b2a16523ed32 (patch) | |
| tree | ce174f1f94426c8727a31680e0c8e415e998ba66 /site/themes/sine/layouts/partials/nav.html | |
| parent | b2393801585b7e152ffbffb3226f720e66454ea6 (diff) | |
renamed theme and added content
Diffstat (limited to 'site/themes/sine/layouts/partials/nav.html')
| -rw-r--r-- | site/themes/sine/layouts/partials/nav.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/site/themes/sine/layouts/partials/nav.html b/site/themes/sine/layouts/partials/nav.html new file mode 100644 index 0000000..efd7e5b --- /dev/null +++ b/site/themes/sine/layouts/partials/nav.html @@ -0,0 +1,15 @@ +<header class="site-header"> + <nav class="navbar"> + <div id="logoContainer"> + <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> |
