diff --git a/site/_docs/collections.md b/site/_docs/collections.md index 12df6936..6aba16b6 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -44,8 +44,13 @@ documents. YAML Front Matter is read in as data if it exists, and everything after it is stuck in the Document's `content` attribute. If no YAML Front Matter is provided, Jekyll will not generate the file in your collection. +
+
Be sure to name your directories correctly
+

Note: the folder must be named identically to the collection you defined in your `_config.yml` file, with the addition of the preceding `_` character. +

+
### Step 3: Optionally render your collection's documents into independent files @@ -77,9 +82,14 @@ collections: For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be written out to `/awesome/some_subdir/some_doc/index.html`. -**Note that files in collections that do not have front matter are treated +
+
Don't forget to add YAML for processing
+

+Files in collections that do not have front matter are treated as static files and simply copied to their output location without -processing.** +processing. +

+