commit 5a34032
0uppy
·
2026-05-16 17:28:00 +0000 UTC
parent ce96574
ssg: now the sidebar also displays the main page
1 files changed,
+0,
-2
1@@ -20,8 +20,6 @@ func GetSidebar(pagesDir string) ([]SidebarItem, error) {
2 })
3 } else if strings.HasSuffix(name, ".md") {
4 stem := strings.TrimSuffix(name, ".md")
5- if stem == "index" {
6- continue
7 }
8 nav = append(nav, SidebarItem{
9 Name: stem,