Skip to content

Commit

Permalink
Update 3-Templates.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Nov 12, 2023
1 parent 8d1484f commit 6827921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/3-Templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ layouts/(<section>/)<type>|<layout>.<format>(.<language>).twig
`<type>`
: The page type: `home` (or `index`) for _homepage_, `list` for _list_, `page` for _page_, etc. (See [_Lookup rules_](#lookup-rules) for details).

`<layout>`
`<layout>` (optional)
: The custom layout name defined in the [front matter](2-Content.md#front-matter) of the page (e.g.: `layout: my-layout`).

`<language>` (optional)
Expand All @@ -53,7 +53,7 @@ layouts/(<section>/)<type>|<layout>.<format>(.<language>).twig
: The [output format](4-Configuration.md#formats) of the rendered page (e.g.: `html`, `rss`, `json`, `xml`, etc.).

".twig"
: The mandatory file extension.
: The mandatory Twig file extension.

_Examples:_

Expand Down

0 comments on commit 6827921

Please sign in to comment.