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

Menu: use LinkTitle instead of Title #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thaJeztah
Copy link

LinkTitle allows overriding the title to use in menus in a page's front-matter. For example:

title: This is the title of the page
linktitle: menu title

It a linktitle is defined in the page's front-matter, it will be used as title in the menu. Pages that do not have a linktitle configured will use the title instead (see https://gohugo.io/content-management/front-matter/).

LinkTitle allows overriding the title to use in menus in a page's
front matter. For example:

    title: This is the title of the page
    linktitle: menu title

It a linktitle is defined in the page's front matter, it will be
used as title in the menu. Pages that do not have a linktitle
configured will use the `title` instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Author

@thingsym ptal

@zybex86
Copy link

zybex86 commented Aug 31, 2020

I believe that there is also one problem with the Home menu item as it is ALWAYS added to a slide-menu which would be nice when it wasn't.

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

Successfully merging this pull request may close these issues.

2 participants