Skip to content

Feature request for adding dividers or other html elements #4

@topkat

Description

@topkat

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 :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions