Add information about finding a collection in `site.collections` (#6165)
Merge pull request 6165
This commit is contained in:
parent
e24fd073fe
commit
285fe73b2e
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue