about summary refs log tree commit diff
path: root/users/fcuny/blog
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-21 11:14:06 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-21 11:14:06 -0800
commitcd425907331d0265393719ee9191d9cccb1a4edb (patch)
tree1bbb76e8968ecb3887236c7af6cd08c647e1d36b /users/fcuny/blog
parentpost: change formatting for the date (diff)
downloadworld-cd425907331d0265393719ee9191d9cccb1a4edb.tar.gz
nav: align the menu items to the right
Diffstat (limited to '')
-rw-r--r--users/fcuny/blog/layouts/partials/header.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/users/fcuny/blog/layouts/partials/header.html b/users/fcuny/blog/layouts/partials/header.html
index 9118a50..e579329 100644
--- a/users/fcuny/blog/layouts/partials/header.html
+++ b/users/fcuny/blog/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>