From 285fe73b2e6f5b74875addb05577d609dc78452b Mon Sep 17 00:00:00 2001 From: Adam Voss Date: Wed, 21 Jun 2017 10:43:12 -0500 Subject: [PATCH] Add information about finding a collection in `site.collections` (#6165) Merge pull request 6165 --- docs/_docs/collections.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index fa82e096..43ff533f 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -309,6 +309,8 @@ you specified in your `_config.yml` (if present) and the following information: you have a _posts directory or not. This is something to note when iterating through site.collections as you may need to filter it out.

+

You may wish to use filters to find your collection: + {{ site.collections | where: "label", "myCollection" | first }}