Skip to content

Commit

Permalink
docs: Clarify single page template search path
Browse files Browse the repository at this point in the history
Fixes #2791
  • Loading branch information
moorereason authored and bep committed Dec 15, 2016
1 parent 26084ad commit 596bbea
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/content/templates/content.md
Expand Up @@ -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

* /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
### Single Page

* /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

Expand Down

0 comments on commit 596bbea

Please sign in to comment.