Files
hugo/content/variables/menus.md
T
Bud Parr 6896947058 Update content to use Hugo's built-in menu
* add generic menu declaration
* update about section
* commands
* update content management section
* update contribute section
* functions
* update getting started section
* update hosting and deployment section
* fix mailing list entry (no menu)
* update news section
* update Templates section
* update tools section
* update themes section
* troubleshooting
* update variables section

Fixes rdwatters/hugo-docs-concept#45
See PR rdwatters/hugo-docs-concept#62
2017-03-31 17:50:49 -05:00

695 B

title, linktitle, description, date, publishdate, lastmod, categories, tags, draft, menu, weight, aliases, toc
title linktitle description date publishdate lastmod categories tags draft menu weight aliases toc
Menu Variables Menu Variables A menu entry in a menu template has specific variables and functions to make menu management easier. 2017-03-12 2017-03-12 2017-03-12
variables and params
menus
false
main
parent weight
Variables 50
50
/variables/menu/
false

A menu entry in a menu template has the following properties:

.URL
string
.Name
string
.Menu
string
.Identifier
string
.Pre
template.HTML
.Post
template.HTML
.Weight
int
.Parent
string
.Children
Menu