mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
26084ad198
commit
596bbea815
1 changed files with 11 additions and 7 deletions
|
@ -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,
|
||||
it will be used instead of `section`.
|
||||
|
||||
### Single
|
||||
### Single Page
|
||||
|
||||
* /layouts/`TYPE`-or-`SECTION`/`LAYOUT`.html
|
||||
* /layouts/`TYPE`-or-`SECTION`/single.html
|
||||
* /layouts/\_default/single.html
|
||||
* /themes/`THEME`/layouts/`TYPE`-or-`SECTION`/`LAYOUT`.html
|
||||
* /themes/`THEME`/layouts/`TYPE`-or-`SECTION`/single.html
|
||||
* /themes/`THEME`/layouts/\_default/single.html
|
||||
* /layouts/`TYPE`/`LAYOUT`.html
|
||||
* /layouts/`SECTION`/`LAYOUT`.html
|
||||
* /layouts/`TYPE`/single.html
|
||||
* /layouts/`SECTION`/single.html
|
||||
* /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
|
||||
|
||||
|
|
Loading…
Reference in a new issue