From: Cameron Moore Date: Thu, 15 Dec 2016 17:06:25 +0000 (-0600) Subject: docs: Clarify single page template search path X-Git-Tag: v0.18~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=596bbea8;p=brevno-suite%2Fhugo docs: Clarify single page template search path Fixes #2791 --- diff --git a/docs/content/templates/content.md b/docs/content/templates/content.md index f0db5f8c..24d1782a 100644 --- a/docs/content/templates/content.md +++ b/docs/content/templates/content.md @@ -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