.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 Jun 26, 2022 21:18 UTC.


This page was created/modified in commit c24ea79 "feat!: Use tomelr.el for TOML generation" on 2022-05-03.
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
empty_stringstring ""
foostring "bar"
gammaint64 10
iscjklanguagebool false
lastmodtime.Time 2022-05-03 00:48:15 -0400 -0400
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.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]