Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request for adding dividers or other html elements #4

Open
top-kat opened this issue Jul 18, 2017 · 1 comment
Open

Feature request for adding dividers or other html elements #4

top-kat opened this issue Jul 18, 2017 · 1 comment

Comments

@top-kat
Copy link

top-kat commented Jul 18, 2017

Hi, I just wrote this bit of code. item.type can be all html elements that can be child of li element like span or a...

It can be used to make dividers for exemple

<{{ item.type is defined ? item.type : 'a' }} class="reference internal {{ itemId == currentMenu ? 'current' }}" href="{{ item.absoluteUrl|default(baseUrl ~ '/' ~ item.relativeUrl) }}"> {{ item.text|raw }} </{{ item.type is defined ? item.type : 'a' }}>

Also, are there a native way to do a submenu ? Should I implement one ?

(@mnapoli sorry for issue on light-theme, just a mistake cause I was on the wrong page :) )

@obstschale
Copy link

I was just looking at the code, if submenus were possible. Apparently not. So I would be grateful, if you could implement a submenu feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants