From 29c45dd690eb0736e4c70c4a3e18a49349aed3c8 Mon Sep 17 00:00:00 2001 From: Nate Finch Date: Sun, 3 Aug 2014 06:53:48 -0400 Subject: [PATCH] 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. --- docs/content/templates/content.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/templates/content.md b/docs/content/templates/content.md index a1a1e98f9..cecc8b665 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