From 6764d0eb9a9e49dc74b8bb67251cb022c8fa6f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2018 08:08:53 +0100 Subject: [PATCH] Fix: Add note about posts in context of collections_dir --- docs/_docs/collections.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index 30ea5592c65..555521d3757 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -49,10 +49,12 @@ defaults:
Gather your collections {%- include docs_version_badge.html version="3.7.0" -%}
-

You can optionally specify a directory to store all your collections in the same place with collections_dir: my_collections

+

You can optionally specify a directory to store all your collections in the same place with collections_dir: my_collections.

Then Jekyll will look in my_collections/_books for the books collection, and in my_collections/_recipes for the recipes collection.

+ +

Posts and drafts are collections, too. If you specify a collections_dir: my_collections you will need to move the _drafts and _posts directories into _my_collections.

### Step 2: Add your content {#step2}