.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 Oct 05, 2024 21:20 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
collectionmaps.Params
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."
dogmaps.Params
KeyTypeValue
eyesint 2
friends[]interface {} "poo" "boo"
legsint 4
draftbool false
empty_string_valuemaps.Params
KeyTypeValue
emptystring ""
headermaps.Params
KeyTypeValue
captionstring "stay hungry, stay foolish"
imagestring "projects/Readingabook.jpg"
iscjklanguagebool false
lastmodtime.Time 2018-06-12 17:10:13 -0400 -0400
randommaps.Params
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.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]