feat: derive sidebar from content

This commit is contained in:
2026-06-21 18:01:31 +00:00
parent b9b78db633
commit f8af9035e8
6 changed files with 36 additions and 61 deletions
-29
View File
@@ -22,32 +22,3 @@ inline = [["\\(", "\\)"]]
description = "Starless is a small Hugo theme for dark, text first sites."
sidebarFooter = "Built with Hugo."
homeFooter = "Small on purpose."
[[menus.main]]
name = "Guide"
pageRef = "/docs"
weight = 10
[[menus.main]]
name = "Install"
pageRef = "/docs/install"
parent = "Guide"
weight = 11
[[menus.main]]
name = "Customize"
pageRef = "/docs/customize"
parent = "Guide"
weight = 12
[[menus.main]]
name = "Files"
pageRef = "/docs/files"
parent = "Guide"
weight = 13
[[menus.main]]
name = "How it looks?"
pageRef = "/docs/how-it-looks"
parent = "Guide"
weight = 14