mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 05:25:47 -04:00
Update lookup-order.md
This commit is contained in:
parent
399904959e
commit
d140b6a62f
@ -34,6 +34,9 @@ Layout
|
||||
Output Format
|
||||
: See [Custom Output Formats](/templates/output-formats). An output format has both a `name` (e.g. `rss`, `amp`, `html`) and a `suffix` (e.g. `xml`, `html`). We prefer matches with both (e.g. `index.amp.html`, but look for less specific templates.
|
||||
|
||||
Note that if the output format's Media Type have more than one suffix defined, only the first is considered.
|
||||
|
||||
the
|
||||
Language
|
||||
: We will consider a language code in the template name. If the site language is `fr`, `index.fr.amp.html` will win over `index.amp.html`, but `index.amp.html` will be chosen before `index.fr.html`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user