.Kind (page): .Type (dummy) / .Layout (customdate)
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 76ec849 "Rename param name foo to ride_date" on 2018-03-01.
Markdown source of this page

Custom date key in front-matter

This page was created/modified in commit 76ec849 "Rename param name foo to ride_date" on 2018-03-01.

Markdown source of this page

Categories: miscellaneous

Reference


Page (Debug)

Page VariableValue
Name "Custom date key in front-matter"
Title "Custom date key in front-matter"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "dummy"
Layout "customdate"
Permalink "https://hugo-sandbox.netlify.com/posts/custom-date-key-in-front-matter/"
RelPermalink "/posts/custom-date-key-in-front-matter/"
Data
page.Data{} (type:page.Data)
NextPageCasing of Front-matter Keys (Regular Page)
PrevPageDo not leak post's immediate sub-heading tag into the front-matter
NextInSectionCasing of Front-matter Keys (Regular Page)
PrevInSectionDo not leak post's immediate sub-heading tag into the front-matter

Page Params (Debug)

maps.Params{"author":[]string{"Kaushal Modi"}, "categories":[]string{"miscellaneous"}, "draft":false, "iscjklanguage":false, "lastmod":time.Date(2018, time.March, 1, 14, 53, 0, 0, time.Location("")), "layout":"customdate", "ride_date":time.Date(2018, time.March, 2, 17, 15, 0, 0, time.UTC), "title":"Custom date key in front-matter", "type":"dummy"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "c1b8f7f07e5e524c6e46e70f71000c23"
BaseFileName "custom-date-key-in-front-matter"
TranslationBaseName "custom-date-key-in-front-matter"
Lang "en"
Section "posts"
LogicalName "custom-date-key-in-front-matter.md"
Dir "posts/"
Ext "md"
Path "posts/custom-date-key-in-front-matter.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]