mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:41:01 +00:00
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:
parent
8524baee16
commit
020086cb2b
1 changed files with 5 additions and 1 deletions
|
@ -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 `+++`.
|
||||
|
@ -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 >}}
|
||||
|
|
Loading…
Reference in a new issue