Content folder automatic creates menu

right now i currently using if else for may navbar / menu .

my problem is when i created sub folder in my content folder with a markdowns it automatically create a menu item. that’s why im using conditional statement for displaying my menus.

so, how can i fix this or how can i solve this?

big thanks :slight_smile:


It’s difficult to say for sure what is wrong without seeing your code. Have a read about Requesting Help to see how to make it easier for us to help you.