Add org to front matter formats

actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
This commit is contained in:
Niklas Fasching authored and Bjørn Erik Pedersen committed 2019-07-10 11:14:37 +02:00
1 parent 8524baee16
commit 020086cb2b
1 file changed
+5 -1
@@ -23,7 +23,7 @@ toc: true
## Front Matter Formats ## Front Matter Formats
Hugo supports three formats for front matter, each with their own identifying tokens. Hugo supports four formats for front matter, each with their own identifying tokens.
TOML TOML
: identified by opening and closing `+++`. : identified by opening and closing `+++`.
@@ -34,6 +34,10 @@ YAML
JSON JSON
: a single JSON object surrounded by '`{`' and '`}`', followed by a new line. : a single JSON object surrounded by '`{`' and '`}`', followed by a new line.
ORG
: a group of Org mode keywords in the format '`#+KEY: VALUE`'. Any line that does not start with `#+` ends the front matter section.
Keyword values can be either strings (`#+KEY: VALUE`) or a whitespace separated list of strings (`#+KEY[]: VALUE_1 VALUE_2`).
### Example ### Example
{{< code-toggle >}} {{< code-toggle >}}