.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 a0f3dc2 "Add date" on 2018-09-25.
Markdown source of this page

Accessing page param

categories: miscellaneous


Description/Summary

Testing a Page Param with first letter uppercase.

Content

ref

.Page.Params ::

maps.Params{"author":[]string{"Kaushal Modi"}, "categories":[]string{"miscellaneous"}, "creator":"Emacs 27.0.50 (Org mode 9.1.14 + ox-hugo)", "date":time.Date(2018, time.September, 25, 16, 23, 0, 0, time.Location("")), "description":"Testing a Page Param with first letter uppercase.", "draft":false, "editor":"Foo Bar", "iscjklanguage":false, "lastmod":time.Date(2018, time.September, 25, 16, 23, 52, 0, time.Location("")), "publishdate":time.Date(2018, time.September, 25, 16, 23, 0, 0, time.Location("")), "title":"Accessing page param"} (type:maps.Params)

.Page.Param "Editor" ::

"Foo Bar"

.Page.Param "editor" ::

"Foo Bar"


Page (Debug)

Page VariableValue
Name "Accessing page param"
Title "Accessing page param"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/accessing-page-param/"
RelPermalink "/posts/accessing-page-param/"
Data
page.Data{} (type:page.Data)
NextPageAudio widget 1
PrevPageNotes on HEP course
NextInSectionAudio widget 1
PrevInSectionNotes on HEP course

Page Params (Debug)

maps.Params{"author":[]string{"Kaushal Modi"}, "categories":[]string{"miscellaneous"}, "creator":"Emacs 27.0.50 (Org mode 9.1.14 + ox-hugo)", "date":time.Date(2018, time.September, 25, 16, 23, 0, 0, time.Location("")), "description":"Testing a Page Param with first letter uppercase.", "draft":false, "editor":"Foo Bar", "iscjklanguage":false, "lastmod":time.Date(2018, time.September, 25, 16, 23, 52, 0, time.Location("")), "publishdate":time.Date(2018, time.September, 25, 16, 23, 0, 0, time.Location("")), "title":"Accessing page param"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "07895da65670693f9e94952784e85d8e"
BaseFileName "accessing-page-param"
TranslationBaseName "accessing-page-param"
Lang "en"
Section "posts"
LogicalName "accessing-page-param.md"
Dir "posts/"
Ext "md"
Path "posts/accessing-page-param.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]