Add and style the nav bar.

This commit is contained in:
Drew Galbraith 2023-12-06 18:14:27 -08:00
parent 4f22a58dae
commit 8cff6ab72b
5 changed files with 43 additions and 3 deletions

View File

@ -30,3 +30,30 @@ figcaption {
h2 {
border-bottom: 1px solid #000;
}
header {
display: flex;
align-items: center;
}
header a {
text-decoration: none;
color: black;
}
header * {
display: inline;
}
nav {
margin-left: auto;
}
nav li {
padding: 20px;
border-radius: 5px;
}
nav li:hover {
background-color: #eee;
}

View File

@ -88,7 +88,7 @@ kernel Zion because it is another place I love and it is also kind of fun to
think of the operating system as everything from (A)cadia down to (Z)ion.
This section will frequently reference the source code which is available on my
self-hosted [gitea](https://gitea.tiramisu.one) or mirrored to
self-hosted [gitea](https://gitea.tiramisu.one/drew/acadia) or mirrored to
[GitHub](https://github.com/dgalbraith33/acadia).
### Low-level x86-64 stuff

View File

@ -0,0 +1,6 @@
---
menu:
main:
weight: 10
title: Blog
---

View File

@ -1,3 +1,10 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'Tiramisu'
title = "Drew's Site"
[menu]
[[menu.main]]
name = 'Gitea'
url = 'https://gitea.tiramisu.one/drew'
weight = 20

View File

@ -1,2 +1,2 @@
<h1>{{ site.Title }}</h1>
<a href="/"><h1>{{ site.Title }}</h1></a>
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}