Skip to content

Commit

Permalink
Fix: Add note about posts in context of collections_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 7, 2018
1 parent 7895168 commit 6764d0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/_docs/collections.md
Expand Up @@ -49,10 +49,12 @@ defaults:
<div class="note">
<h5>Gather your collections {%- include docs_version_badge.html version="3.7.0" -%}</h5>

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

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

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

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

0 comments on commit 6764d0e

Please sign in to comment.