Skip to content

Conversation

@asierrayk
Copy link

@asierrayk asierrayk commented Jun 28, 2021

Prerequisites

Recommended Steps

  • My patch adds a new feature, therefore I have also added a help article about it
  • My patch changes Elegant behavior, therefore I have updated the help article to reflect this change
  • My commits are signed

Description

Now it's possible to define custom values for menuitems. Home is separated from the rest since you have the ability to add pages as menu item between them.

HOME_MENUITEM = 'Inicio'

MENUITEMS = (
    ('categories', 'Categorías', CATEGORIES_URL),
    ('tags', 'Etiquetas', TAGS_URL),
    ('archives', 'Archivos', ARCHIVES_URL),
)

first value in tuple is needed to enable active class of the menu item
image

Close #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Ability to configure items displayed in menu bar

2 participants