zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Menu from directory structure #13

Closed vdot0x23 closed 5 years ago

vdot0x23 commented 5 years ago

As far as i can tell, menu layout has to be explicitly declared in the config.(toml/yaml/json).

Some themes infer the menu layout from directory structure, which would be nice for cupper aswell :)

Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site.

https://gohugo.io/content-management/organization/

zwbetz-gh commented 5 years ago

Hello @vdot0x23 - I have no plans to add this feature. If you really want it, make a PR and I will review.