"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/content/en/variables/menus.md" between
hugo-0.85.0.tar.gz and hugo-0.86.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

menus.md  (hugo-0.85.0):menus.md  (hugo-0.86.0)
skipping to change at line 43 skipping to change at line 43
URL that the menu entry points to. The `url` key, if set for the menu entry, URL that the menu entry points to. The `url` key, if set for the menu entry,
sets this value. If that key is not set, and if the menu entry is set in a page sets this value. If that key is not set, and if the menu entry is set in a page
front-matter, this value defaults to the page's `.RelPermalink`. front-matter, this value defaults to the page's `.RelPermalink`.
.Page .Page
: _\*Page_ <br /> : _\*Page_ <br />
Reference to the [page object][page-object] associated with the menu entry. This Reference to the [page object][page-object] associated with the menu entry. This
will be non-nil if the menu entry is set via a page's front-matter and not via will be non-nil if the menu entry is set via a page's front-matter and not via
the site config. the site config.
.PageRef {{< new-in "0.86.0" >}}
: _string_ <br /> Can be set if defined in site config and the menu entry refers
to a Page. [site.GetPage](/functions/getpage/) will be used to do the page look
up. If this is set, you don't need to set the `URL`.
.Name .Name
: _string_ <br /> : _string_ <br />
Name of the menu entry. The `name` key, if set for the menu entry, sets Name of the menu entry. The `name` key, if set for the menu entry, sets
this value. If that key is not set, and if the menu entry is set in a page this value. If that key is not set, and if the menu entry is set in a page
front-matter, this value defaults to the page's `.LinkTitle`. front-matter, this value defaults to the page's `.LinkTitle`.
.Identifier .Identifier
: _string_ <br /> : _string_ <br />
Value of the `identifier` key if set for the menu entry. This value must be Value of the `identifier` key if set for the menu entry. This value must be
unique for each menu entry. **It is necessary to set a unique identifier unique for each menu entry. **It is necessary to set a unique identifier
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)