Link in menu shouldn't be clickable

Hello,

I am working on a custom theme, and I’m wondering how having an item in the menu not clickable.
The idea is to have this item be a title for its submenu.
My folders look like that :

01.index
02.title_of_submenu
-01.item1
-02.item2
-03.item3
03.page3

I tryed to not put a markdown file in 02.title_of_submenu, obviously it won’t work.
I tryed to put url:javascript(void)

So how could I do ?
I didn’t find in the docs, but if there is documentation about this, I would be happy to read it ! :slight_smile:

If a page has no markdown file, it’s not routable by default - see docs - and in the code that builds the menu, check if page.routable and if not, do not add the link.

Awesome, thank you so much ! :slight_smile:
It works like a charm.