Fix docs for the new `collections_dir` feature (#6408)

Merge pull request 6408
This commit is contained in:
ashmaroli 2017-10-03 13:26:42 +05:30 committed by jekyllbot
parent a20d13d6b5
commit 6c6c8b071c
1 changed files with 8 additions and 2 deletions

View File

@ -46,12 +46,18 @@ defaults:
layout: page layout: page
``` ```
**New**: You can optionally specify a directory if you want to store all your collections **From `v3.7.0`**: You can optionally specify a directory if you want to store all your collections
in the same place: in the same place:
```yaml ```yaml
collections:
collections_dir: my_collections collections_dir: my_collections
collections:
books:
foo: bar
output: true
recipes:
foo: baz
output: true
``` ```
Then Jekyll will look in `my_collections/_books` for the `books` collection, and Then Jekyll will look in `my_collections/_books` for the `books` collection, and