diff options
author | Franck Cuny <franck@fcuny.net> | 2022-01-21 11:14:06 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-01-21 11:14:06 -0800 |
commit | 59c9b93f5877f9cf02f3dbdaf00a10d8f5837ee4 (patch) | |
tree | 8a174f10e265802c86fd354b8e2a031102fe83d4 | |
parent | post: change formatting for the date (diff) | |
download | fcuny.net-59c9b93f5877f9cf02f3dbdaf00a10d8f5837ee4.tar.gz |
nav: align the menu items to the right
-rw-r--r-- | layouts/partials/header.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9118a50..e579329 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,12 @@ <header> - <nav class='menu'> + <nav class="navbar"> + <a href="{{ .Site.BaseURL }}"> + {{ .Site.BaseURL | string }} + </a> + <ul class="nav-links"> {{ range .Site.Menus.main }} - <a class='menu-item' href="{{ absURL .URL }}">{{ .Title }}</a> + <li class="nav-item"><a href="{{ absURL .URL }}">{{ .Title }}</a></li> {{ end }} + </ul> </nav> </header> |