.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 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

Custom front matter in multiple lines

tags: custom-fm


Description/Summary

From (org) Property syntax: It is also possible to add to the values of inherited properties. The following results in the ‘genres’ property having the value “Classic Baroque” under the ‘Goldberg Variations’ subtree. * CD collection ** Classic :PROPERTIES: :GENRES: Classic :END: *** Goldberg Variations :PROPERTIES: :Title: Goldberg Variations :Composer: J.S. Bach :Artist: Glen Gould :Publisher: Deutsche Grammophon :NDisks: 1 :GENRES+: Baroque :END:


Content

From (org) Property syntax:

It is also possible to add to the values of inherited properties. The following results in the ‘genres’ property having the value “Classic Baroque” under the ‘Goldberg Variations’ subtree.

* CD collection
** Classic
:PROPERTIES:
:GENRES: Classic
:END:
*** Goldberg Variations
:PROPERTIES:
:Title:     Goldberg Variations
:Composer:  J.S. Bach
:Artist:    Glen Gould
:Publisher: Deutsche Grammophon
:NDisks:    1
:GENRES+:   Baroque
:END:

Page (Debug)

Page VariableValue
Name "Custom front matter in multiple lines"
Title "Custom front matter in multiple lines"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/custom-front-matter-multiple-lines/"
RelPermalink "/posts/custom-front-matter-multiple-lines/"
Data
page.Data{} (type:page.Data)
NextPageCat A post 1
PrevPageCustom front matter in one line
NextInSectionCat A post 1
PrevInSectionCustom front matter in one line

Page Params (Debug)

maps.Params{"alpha":1, "baz":"zoo", "beta":"two words", "date":time.Date(2017, time.July, 24, 0, 0, 0, 0, time.UTC), "draft":false, "foo":"bar", "gamma":10, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "publishdate":time.Date(2017, time.July, 24, 0, 0, 0, 0, time.UTC), "tags":[]string{"custom-fm"}, "title":"Custom front matter in multiple lines"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "5bc478c4578e62320c8735e4c48a2d82"
BaseFileName "custom-front-matter-multiple-lines"
TranslationBaseName "custom-front-matter-multiple-lines"
Lang "en"
Section "posts"
LogicalName "custom-front-matter-multiple-lines.md"
Dir "posts/"
Ext "md"
Path "posts/custom-front-matter-multiple-lines.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]