From fa8af73671ab2aa4463ef63a9dadcc763f9fe184 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 13 Feb 2024 17:17:04 -0500 Subject: [PATCH] Make menu entries explicit --- config.toml | 24 ++++++++++++++++++++++-- content/cv.md | 1 - content/hardware.md | 1 - content/legal.md | 1 - content/welcome.md | 1 - 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index a8fa9b5..1a31806 100644 --- a/config.toml +++ b/config.toml @@ -39,9 +39,29 @@ copyright = "This work is licensed under a Creative Commons Attribution-ShareAli name = "Reddit" url = "https://old.reddit.com/u/djbon2112" -[menu] - [[menu.main]] +[menus] + [[menus.main]] identifier = "home" name = "Home" url = "/" weight = 1 + [[menus.main]] + identifier = "welcome" + name = "Welcome" + url = "/welcome/" + weight = 2 + [[menus.main]] + identifier = "legal" + name = "Legal" + url = "/legal/" + weight = 3 + [[menus.about]] + identifier = "cv" + name = "My CV" + url = "/cv/" + weight = 1 + [[menus.about]] + identifier = "hardware" + name = "My Hardware" + url = "/hardware/" + weight = 2 diff --git a/content/cv.md b/content/cv.md index d7e2845..736e57f 100644 --- a/content/cv.md +++ b/content/cv.md @@ -2,7 +2,6 @@ Categories = [] Tags = [] date = "2016-08-21T23:37:49-04:00" -menu = "main" title = "CV" +++ diff --git a/content/hardware.md b/content/hardware.md index 3b01bdb..f464025 100644 --- a/content/hardware.md +++ b/content/hardware.md @@ -2,7 +2,6 @@ Categories = [] Tags = [] date = "2024-02-13T00:00:00-05:00" -menu = "main" title = "Hardware" +++ diff --git a/content/legal.md b/content/legal.md index 749113b..91d4162 100644 --- a/content/legal.md +++ b/content/legal.md @@ -2,7 +2,6 @@ Categories = [] Tags = [] date = "2016-08-21T23:37:49-04:00" -menu = "main" title = "Legal" +++ diff --git a/content/welcome.md b/content/welcome.md index 875cd23..af5dca7 100644 --- a/content/welcome.md +++ b/content/welcome.md @@ -3,7 +3,6 @@ Categories = [] Description = "Welcome to the new blog!" Tags = [] date = "2016-08-21T23:37:49-04:00" -menu = "main" title = "Welcome" +++