From 6793402dc99059214d9ee431f6db1747eb3bfe22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 7 Jan 2018 12:06:37 +0100 Subject: [PATCH] Fix: Add note about posts directory in context of custom collections directory --- docs/_docs/collections.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index 30ea5592c65..d95e2739e76 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -49,12 +49,18 @@ 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.

+
+
Be sure to move posts into custom collections directory
+ +

If you specify a directory to store all your collections in the same place with collections_dir: my_collections, then you will need to move your _posts directory to my_collections/_posts.

+
+ ### Step 2: Add your content {#step2} Create a corresponding folder (e.g. `/_my_collection`) and add