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 Variable | Value | |
|---|---|---|
| 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 |
| |
| NextPage | Cat A post 1 | |
| PrevPage | Custom front matter in one line | |
| NextInSection | Cat A post 1 | |
| PrevInSection | Custom front matter in one line |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| alpha | int64 | 1 |
| baz | string | "zoo" |
| beta | string | "two words" |
| date | time.Time | 2017-07-24 00:00:00 +0000 UTC |
| draft | bool | false |
| empty_string | string | "" |
| foo | string | "bar" |
| gamma | int64 | 10 |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-05-03 00:48:15 -0400 -0400 |
| publishdate | time.Time | 2017-07-24 00:00:00 +0000 UTC |
| tags | []string | "custom-fm" |
| title | string | "Custom front matter in multiple lines" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| 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" |