mirror of https://github.com/gohugoio/hugo
1.1 KiB
1.1 KiB
_comment |
---|
Do not remove front matter. |
- identifier
- (
string
) Required when two or more menu entries have the samename
, or when localizing thename
using translation tables. Must start with a letter, followed by letters, digits, or underscores. - name
- (
string
) The text to display when rendering the menu entry. - params
- (
map
) User-defined properties for the menu entry. - parent
- (
string
) Theidentifier
of the parent menu entry. Ifidentifier
is not defined, usename
. Required for child entries in a nested menu. - post
- (
string
) The HTML to append when rendering the menu entry. - pre
- (
string
) The HTML to prepend when rendering the menu entry. - title
- (
string
) The HTMLtitle
attribute of the rendered menu entry. - weight
- (
int
) A non-zero integer indicating the entry's position relative the root of the menu, or to its parent for a child entry. Lighter entries float to the top, while heavier entries sink to the bottom.