hugo-theme-techdoc icon indicating copy to clipboard operation
hugo-theme-techdoc copied to clipboard

Menu: use LinkTitle instead of Title

Open thaJeztah opened this issue 4 years ago • 2 comments

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/).

thaJeztah avatar Apr 12 '20 12:04 thaJeztah

@thingsym ptal

thaJeztah avatar Apr 12 '20 12:04 thaJeztah

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.

zybex86 avatar Aug 31 '20 04:08 zybex86