diff --git a/assets/css/styles.css b/assets/css/styles.css index 560364f..15d309e 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -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; +} diff --git a/content/blog/2023/12/acadia-0.1.0/index.md b/content/blog/2023/12/acadia-0.1.0/index.md index 3773451..608a885 100644 --- a/content/blog/2023/12/acadia-0.1.0/index.md +++ b/content/blog/2023/12/acadia-0.1.0/index.md @@ -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 diff --git a/content/blog/_index.md b/content/blog/_index.md index e69de29..67137aa 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ +--- +menu: + main: + weight: 10 +title: Blog +--- diff --git a/hugo.toml b/hugo.toml index 5f87462..1c282d1 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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 + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7980a00..b2dfb15 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,2 +1,2 @@ -

{{ site.Title }}

+

{{ site.Title }}

{{ partial "menu.html" (dict "menuID" "main" "page" .) }}