mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
committed by
Bjørn Erik Pedersen
parent
26084ad198
commit
596bbea815
@@ -32,14 +32,18 @@ Users can specify the `type` and `layout` in the [front-matter](/content/front-m
|
|||||||
is determined based on the content file’s location. If `type` is provided,
|
is determined based on the content file’s location. If `type` is provided,
|
||||||
it will be used instead of `section`.
|
it will be used instead of `section`.
|
||||||
|
|
||||||
### Single
|
### Single Page
|
||||||
|
|
||||||
* /layouts/`TYPE`-or-`SECTION`/`LAYOUT`.html
|
* /layouts/`TYPE`/`LAYOUT`.html
|
||||||
* /layouts/`TYPE`-or-`SECTION`/single.html
|
* /layouts/`SECTION`/`LAYOUT`.html
|
||||||
* /layouts/\_default/single.html
|
* /layouts/`TYPE`/single.html
|
||||||
* /themes/`THEME`/layouts/`TYPE`-or-`SECTION`/`LAYOUT`.html
|
* /layouts/`SECTION`/single.html
|
||||||
* /themes/`THEME`/layouts/`TYPE`-or-`SECTION`/single.html
|
* /layouts/_default/single.html
|
||||||
* /themes/`THEME`/layouts/\_default/single.html
|
* /themes/`THEME`/layouts/`TYPE`/`LAYOUT`.html
|
||||||
|
* /themes/`THEME`/layouts/`SECTION`/`LAYOUT`.html
|
||||||
|
* /themes/`THEME`/layouts/`TYPE`/single.html
|
||||||
|
* /themes/`THEME`/layouts/`SECTION`/single.html
|
||||||
|
* /themes/`THEME`/layouts/_default/single.html
|
||||||
|
|
||||||
## Example Single Template File
|
## Example Single Template File
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user