Fix docs for the new `collections_dir` feature (#6408)
Merge pull request 6408
This commit is contained in:
parent
a20d13d6b5
commit
6c6c8b071c
|
@ -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_dir: my_collections
|
||||||
collections:
|
collections:
|
||||||
collections_dir: my_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
|
||||||
|
|
Loading…
Reference in New Issue