diff --git a/hugo.toml b/hugo.toml index 625a8ca..b72980f 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,19 +8,69 @@ googleAnalytics = 'G-LMKPZJ98Y8' contentDir = "content" +[pagination] + pagerSize = 8 + [Params] description = "Writer, thinker, technologist. Morning briefs, Stoic reflections, self-hosting, and systems thinking." +# Main nav: Posts as a direct link, then an Explore dropdown for everything else [[menus.main]] + identifier = "posts" name = "Posts" url = "/posts/" weight = 1 +[[menus.main]] + identifier = "explore" + name = "Explore" + url = "/explore/" + weight = 2 + +# Explore dropdown children — blog navigation [[menus.main]] name = "Tags" url = "/tags/" + parent = "explore" + weight = 1 + +[[menus.main]] + name = "Site Index" + url = "/explore/" + parent = "explore" weight = 2 +# Explore dropdown children — tools +[[menus.main]] + name = "Status Dashboard" + url = "/status" + parent = "explore" + weight = 3 + +[[menus.main]] + name = "Flights" + url = "/flights" + parent = "explore" + weight = 4 + +[[menus.main]] + name = "Volleyball Score" + url = "/volleyball-score" + parent = "explore" + weight = 5 + +[[menus.main]] + name = "Pixel Art" + url = "/pixel-art" + parent = "explore" + weight = 6 + +[[menus.main]] + name = "ASCII Art" + url = "/ascii-art" + parent = "explore" + weight = 7 + [[menus.footer]] name = "RSS" url = "/index.xml" diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..8e74b2f --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,42 @@ +{{ define "main" }} +{{- $pages := where .Site.RegularPages "Section" "posts" }} +{{- $paginator := .Paginate $pages }} +
{{ $excerpt | truncate 220 }}
+ {{- end }} +