mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
1.1 KiB
1.1 KiB
_comment
| _comment |
|---|
| Do not remove front matter. |
identifier- (
string) Required when two or more menu entries have the samename, or when localizing thenameusing 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) Theidentifierof the parent menu entry. Ifidentifieris 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 HTMLtitleattribute 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.