.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 Oct 09, 2018 14:48 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/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
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 2017-11-02 10:12:52 -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.50-DEV (commit d5d50e2f, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]