Skip to content

Commit

Permalink
Add org to front matter formats
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
niklasfasching authored and bep committed Jul 10, 2019
1 parent 8524bae commit 020086c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/content/en/content-management/front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ toc: true

## 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
: identified by opening and closing `+++`.
Expand All @@ -34,6 +34,10 @@ YAML
JSON
: 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

{{< code-toggle >}}
Expand Down

0 comments on commit 020086c

Please sign in to comment.