White space in menu name
Description/Summary
Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the HUGO_FRONT_MATTER_FORMAT key in property drawer. Here there is white space in menu name property.
Content
Testing the addition of menu meta data to the YAML front matter.
Here the front matter format is set to YAML using the
HUGO_FRONT_MATTER_FORMAT
key in property drawer.
Here there is white space in menu name property.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "White space in menu name" | |
Title | "White space in menu name" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://hugo-sandbox.netlify.com/posts/menu-meta-data-yaml3/" | |
RelPermalink | "/posts/menu-meta-data-yaml3/" | |
Data |
| |
NextPage | White space in menu entry | |
PrevPage | Menu Meta Data in TOML Front Matter | |
NextInSection | White space in menu entry | |
PrevInSection | Menu Meta Data in TOML Front Matter |
Page Params (Debug)
maps.Params{"date":time.Date(2017, time.July, 19, 0, 0, 0, 0, time.UTC), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "menu":maps.Params{"main":maps.Params{"identifier":"white-space-in-menu-name", "name":"Menu in YAML", "parent":"posts", "weight":25}}, "publishdate":time.Date(2017, time.July, 19, 0, 0, 0, 0, time.UTC), "tags":[]string{"menu", "yaml"}, "title":"White space in menu name"} (type:maps.Params) |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "32ed2be2740c78f66293bce671d6f0a3" |
BaseFileName | "menu-meta-data-yaml3" |
TranslationBaseName | "menu-meta-data-yaml3" |
Lang | "en" |
Section | "posts" |
LogicalName | "menu-meta-data-yaml3.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/menu-meta-data-yaml3.md" |