.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 Feb 12, 2020 19:36 UTC.


This page was created/modified in commit 938d0f4 "Switch from http to https for orgmode.org" on 2018-01-05.
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://ox-hugo.scripter.co/test/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)

KeyTypeValue
alphaint64 1
bazstring "zoo"
betastring "two words"
datetime.Time 2017-07-24 00:00:00 +0000 UTC
draftbool false
foostring "bar"
gammaint64 10
iscjklanguagebool false
lastmodtime.Time 2018-01-05 12:58:06 -0500 -0500
publishdatetime.Time 2017-07-24 00:00:00 +0000 UTC
tags[]string "custom-fm"
titlestring "Custom front matter in multiple lines"

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.59.0-DEV (commit 5276f1e9, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]