commit 29c45dd690eb0736e4c70c4a3e18a49349aed3c8
parent 756be987d3746cc9605f2ccddfe9edc55d63f9ac
Author: Nate Finch <nate.finch@gmail.com>
Date: Sun, 3 Aug 2014 06:53:48 -0400
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.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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