Add information about finding a collection in `site.collections` (#6165)

Merge pull request 6165
This commit is contained in:
Adam Voss 2017-06-21 10:43:12 -05:00 committed by jekyllbot
parent e24fd073fe
commit 285fe73b2e
1 changed files with 2 additions and 0 deletions

View File

@ -309,6 +309,8 @@ you specified in your `_config.yml` (if present) and the following information:
you have a <code>_posts</code> directory or not. This is something to note
when iterating through <code>site.collections</code> as you may need to
filter it out.</p>
<p>You may wish to use filters to find your collection:
<code>{{ site.collections | where: "label", "myCollection" | first }}</code></p>
</div>