mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
docs: Add notes about some output format behaviour
This commit is contained in:
parent
fd5109b6d8
commit
162d3a586d
1 changed files with 6 additions and 1 deletions
|
@ -106,6 +106,7 @@ Example from site config in `config.toml`:
|
||||||
* The names used must match the `Name` of a defined `Output Format`.
|
* The names used must match the `Name` of a defined `Output Format`.
|
||||||
* Any `Kind` without a definition will get `HTML`.
|
* Any `Kind` without a definition will get `HTML`.
|
||||||
* These can be overriden per `Page` in front matter (see below).
|
* These can be overriden per `Page` in front matter (see below).
|
||||||
|
* When `outputs` is specified, only the formats defined in outputs will be rendered
|
||||||
|
|
||||||
A `Page` with `YAML` front matter defining some output formats for that `Page`:
|
A `Page` with `YAML` front matter defining some output formats for that `Page`:
|
||||||
|
|
||||||
|
@ -118,7 +119,11 @@ A `Page` with `YAML` front matter defining some output formats for that `Page`:
|
||||||
- json
|
- json
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
Note that the names used for the output formats are case insensitive.
|
Note:
|
||||||
|
|
||||||
|
* The names used for the output formats are case insensitive.
|
||||||
|
* The first output format in the list will act as the default.
|
||||||
|
* The default output format is used when generating links to other pages in menus, etc.
|
||||||
|
|
||||||
## Link to Output Formats
|
## Link to Output Formats
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue