Add and style the nav bar.
This commit is contained in:
parent
4f22a58dae
commit
8cff6ab72b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
menu:
|
||||
main:
|
||||
weight: 10
|
||||
title: Blog
|
||||
---
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<h1>{{ site.Title }}</h1>
|
||||
<a href="/"><h1>{{ site.Title }}</h1></a>
|
||||
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
|
||||
|
|
Loading…
Reference in New Issue