Closed Kariton closed 4 months ago
You can easily adapt the top navigation menu. But the menu structure for this theme is not configured in a central file (except for external links) and is using a menu entry in the top list page for the section you want to see in the top menu.
I would recommend reading https://perplex.desider.at/doc/site/navigation/.
We don't have to worry about the implementation of the file structure. Hugo does an excellent job when converting the Markdown content structure into the URL hierarchy. And you can configure nearly everything if you need some other structure than the default one.
Drop-down menus are not possible at the moment. Their configuration would be possible in the same way as described in the link above, but they are not implemented and this needs some work. I'm planning to include Alpine.js for this task. If this is an important feature, please add a feature request issue.
Hey,
can the top navigation bar be more dynamic? currently "NEWS DOCS BLOG ABOUT" seem to be static.
i would love to see the option to rename them and add more. especially something like a "on hover dropdown" menu thing.
so like:
to keep feature compatibility it could be hidden behind some "extended menu" flag.
the file structure should be self explanatory:
same goes for urls:
where
http://localhost:1313/doc/
is just a summary page like those for tags or categories.