From: Nate Finch Date: Sun, 3 Aug 2014 10:53:48 +0000 (-0400) Subject: make type-or-section more obvious X-Git-Tag: v0.12~69 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=29c45dd6;p=brevno-suite%2Fhugo make type-or-section more obvious It took me a long time to realize that /layouts/TYPE or SECTION/LAYOUT.html was supposed to be a single URL and not two urls (/layouts/TYPE) or (SECTION/LAYOUT.html) ... putting in the hyphens I think makes it much more clear it's all one URL, and only the middle part is an either-or. --- diff --git a/docs/content/templates/content.md b/docs/content/templates/content.md index a1a1e98f..cecc8b66 100644 --- a/docs/content/templates/content.md +++ b/docs/content/templates/content.md @@ -32,11 +32,11 @@ it will be used instead of `section`. ### Single -* /layouts/`TYPE` or `SECTION`/`LAYOUT`.html -* /layouts/`TYPE` or `SECTION`/single.html +* /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/`TYPE`-or-`SECTION`/`LAYOUT`.html +* /themes/`THEME`/layouts/`TYPE`-or-`SECTION`/single.html * /themes/`THEME`/layouts/\_default/single.html ## Example Single Template File