make type-or-section more obvious
authorNate Finch <nate.finch@gmail.com>
Sun, 3 Aug 2014 10:53:48 +0000 (06:53 -0400)
committerspf13 <steve.francia@gmail.com>
Wed, 6 Aug 2014 04:05:05 +0000 (00:05 -0400)
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.

docs/content/templates/content.md

index a1a1e98f90dbfed5587969b76c2a7496c55d94ac..cecc8b66558e2a0cb57a6486277b8bde46ab9306 100644 (file)
@@ -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