Add config option [nav] nested (defaults false), update base.html template with nested nav rendering, and add .nav-children CSS styling for indented section children. - Add NavConfig struct with nested: bool - Template renders item.children in .nav-children div - CSS: left border + indent for nested items
13 lines
210 B
TOML
13 lines
210 B
TOML
author = "Sukr Contributors"
|
|
base_url = "https://sukr.io"
|
|
title = "Sukr Documentation"
|
|
|
|
[paths]
|
|
content = "content"
|
|
output = "public"
|
|
static = "static"
|
|
templates = "templates"
|
|
|
|
[nav]
|
|
nested = true
|