ref: 6fd4bfcae3674f9dbd6b59937152cbe2f22829e5
parent: 79b2725ac4242ee7bbc6f1f441352996679dcb1e
author: Brian Shumate <brianshumate@users.noreply.github.com>
date: Thu Dec 15 14:09:51 EST 2016
docs: Update layouts path name
--- a/docs/content/templates/partials.md
+++ b/docs/content/templates/partials.md
@@ -15,8 +15,8 @@
In practice, it's very convenient to split out common template portions into a
partial template that can be included anywhere. As you create the rest of your
-templates, you will include templates from the ``/layout/partials` directory
-or from arbitrary subdirectories like `/layout/partials/post/tag`.
+templates, you will include templates from the ``/layouts/partials` directory
+or from arbitrary subdirectories like `/layouts/partials/post/tag`.
Partials are especially important for themes as it gives users an opportunity
to overwrite just a small part of your theme, while maintaining future compatibility.
@@ -99,11 +99,11 @@
</body>
</html>
-To reference a partial template stored in a subfolder, e.g. `/layout/partials/post/tag/list.html`, call it this way:
+To reference a partial template stored in a subfolder, e.g. `/layouts/partials/post/tag/list.html`, call it this way:
{{ partial "post/tag/list" . }}
-Note that the subdirectories you create under /layout/partials can be named whatever you like.
+Note that the subdirectories you create under /layouts/partials can be named whatever you like.
For more examples of referencing these templates, see
[single content templates](/templates/content/),
--
⑨