.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Jan 20, 2022 13:08 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

White space in menu entry

tags: menu yaml


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 entry keyword.


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 entry keyword.


Page (Debug)

Page VariableValue
Name "White space in menu entry"
Title "White space in menu entry"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/menu-meta-data-yaml2/"
RelPermalink "/posts/menu-meta-data-yaml2/"
Data
page.Data{} (type:page.Data)
NextPageSimple
PrevPageWhite space in menu name
NextInSectionSimple
PrevInSectionWhite space in menu name

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{"something here":maps.Params{"identifier":"white-space-in-menu-entry", "weight":25}}, "publishdate":time.Date(2017, time.July, 19, 0, 0, 0, 0, time.UTC), "tags":[]string{"menu", "yaml"}, "title":"White space in menu entry"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "881a48ffaa8659b468f92d4db303d68a"
BaseFileName "menu-meta-data-yaml2"
TranslationBaseName "menu-meta-data-yaml2"
Lang "en"
Section "posts"
LogicalName "menu-meta-data-yaml2.md"
Dir "posts/"
Ext "md"
Path "posts/menu-meta-data-yaml2.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]