.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 TOML

tags: custom-fm TOML-Table nested-map


Description/Summary

Custom TOML front-matter with TOML tables.

Content

ox-hugo Issue #139


Page (Debug)

Page VariableValue
Name "Custom front matter with nested maps in TOML"
Title "Custom front matter with nested maps in TOML"
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-toml/"
RelPermalink "/posts/custom-front-matter-with-nested-maps-toml/"
Data
page.Data{} (type:page.Data)
NextPageCustom front matter with list values in YAML
PrevPageCustom front matter with nested maps in YAML
NextInSectionCustom front matter with list values in YAML
PrevInSectionCustom front matter with nested maps in YAML

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 TOML front-matter with TOML tables."
dogmap[string]interface {}
KeyTypeValue
eyesint64 2
friends[]interface {} "poo" "boo"
legsint64 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 TOML"

File Object (Debug)

FileInfo VariableValue
UniqueID "8dea056fa993f402c429ae5cce136f4b"
BaseFileName "custom-front-matter-with-nested-maps-toml"
TranslationBaseName "custom-front-matter-with-nested-maps-toml"
Lang "en"
Section "posts"
LogicalName "custom-front-matter-with-nested-maps-toml.md"
Dir "posts/"
Ext "md"
Path "posts/custom-front-matter-with-nested-maps-toml.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]