docs: Fix references to section list templates
authorJulien Chien <julien@sourcegraph.com>
Sat, 2 Apr 2016 22:29:36 +0000 (15:29 -0700)
committerCameron Moore <moorereason@gmail.com>
Fri, 8 Apr 2016 15:15:48 +0000 (10:15 -0500)
Fixes #2032

docs/content/content/types.md
docs/content/tutorials/creating-a-new-theme.md

index f6d18d3540c3b3778dab6135616f814b5cb5dd9f..277294881a6cc093f54f25da1f8d8fa20df864cb 100644 (file)
@@ -60,6 +60,9 @@ Create a directory with the name of the type in `/layouts`. Type is always singu
 ### Create single template
 Create a file called `single.html` inside your directory. *E.g. `/layouts/post/single.html`*.
 
+### Create list template
+Create a file called `post.html` inside the section lists template directory, `/layouts/section`. *E.g. `/layouts/section/post.html`*.
+
 ### Create views
 Many sites support rendering content in a few different ways, for
 instance, a single page view and a summary view to be used when
index ee28f900ca4c398ac55b9299c91c612a9ba0f7a2..960774ea86355af79241211bcece3866824e2f5a 100644 (file)
@@ -864,7 +864,7 @@ $ find themes/zafta -name list.html | xargs ls -l
 -rw-r--r--  1 mdhender  wheel  0 Nov 27 20:35 themes/zafta/layouts/_default/list.html
 ```
 
-As with the single article, we have to decide to update `_default/list.html` or create `article/list.html`. We still don't have multiple content types, so let's stay consistent and update the default list template.
+As with the single article, we have to decide to update `_default/list.html` or create `section/article.html`. We still don't have multiple content types, so let's stay consistent and update the default list template.
 
 ```bash
 $ vi themes/zafta/layouts/_default/list.html