.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Apr 03, 2020 02:29 UTC.


This page was created/modified in commit a716fee "org-hugo--quote-string now returns an empty quoted string by default" on 2018-06-12.
Markdown source of this page

Custom front matter with nested maps in YAML

tags: custom-fm TOML-Table nested-map


Description/Summary

Custom YAML front-matter with nested maps.

Content

ox-hugo Issue #139


Page (Debug)

Page VariableValue
Name "Custom front matter with nested maps in YAML"
Title "Custom front matter with nested maps in YAML"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/custom-front-matter-with-nested-maps-yaml/"
RelPermalink "/posts/custom-front-matter-with-nested-maps-yaml/"
Data
page.Data{} (type:page.Data)
NextPageCustom front matter with nested maps in TOML
PrevPageCustom resource params with list values
NextInSectionCustom front matter with nested maps in TOML
PrevInSectionCustom resource params with list values

Page Params (Debug)

KeyTypeValue
collectionmap[string]interface {}
KeyTypeValue
animals[]interface {} "dog" "cat" "penguin" "mountain gorilla"
booleans[]interface {} true false
floats[]interface {} 12.3 -5 -1.7e-05
integers[]interface {} 123 -5 17 1234
nonnilbool true
nothingbool false
strings-symbols[]interface {} "abc" "def" "two words"
descriptionstring "Custom YAML front-matter with nested maps."
dogmap[string]interface {}
KeyTypeValue
eyesint 2
friends[]interface {} "poo" "boo"
legsint 4
draftbool false
empty_string_valuemap[string]interface {}
KeyTypeValue
emptystring ""
headermap[string]interface {}
KeyTypeValue
captionstring "stay hungry, stay foolish"
imagestring "projects/Readingabook.jpg"
iscjklanguagebool false
lastmodtime.Time 2018-06-12 17:10:13 -0400 -0400
randommap[string]interface {}
KeyTypeValue
foostring "bar"
tags[]string "custom-fm" "TOML-Table" "nested-map"
titlestring "Custom front matter with nested maps in YAML"

File Object (Debug)

FileInfo VariableValue
UniqueID "eec18097bf06806df8a4c3b71f6fcb48"
BaseFileName "custom-front-matter-with-nested-maps-yaml"
TranslationBaseName "custom-front-matter-with-nested-maps-yaml"
Lang "en"
Section "posts"
LogicalName "custom-front-matter-with-nested-maps-yaml.md"
Dir "posts/"
Ext "md"
Path "posts/custom-front-matter-with-nested-maps-yaml.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.59.0-DEV (commit 5276f1e9, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]