From 55392fd8d24920bfa68f7effef4350a43241bdfc Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 20 Mar 2015 11:05:58 -0400 Subject: [PATCH 1/4] Add Info labels to sections --- site/_docs/collections.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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. +

+
From 4ef30b3a6fca34dbbf60ca29ced8d52f63868bd4 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 20 Mar 2015 11:14:54 -0400 Subject: [PATCH 2/4] Fixed a typo --- site/_docs/collections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/_docs/collections.md b/site/_docs/collections.md index 6aba16b6..a41d9a6c 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -47,7 +47,7 @@ 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 +The folder must be named identically to the collection you defined in your `_config.yml` file, with the addition of the preceding `_` character.

From 6e3bba154c9593c66205bfaf50b85c9513694702 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 20 Mar 2015 11:25:09 -0400 Subject: [PATCH 3/4] Fix formatting --- site/_docs/collections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/_docs/collections.md b/site/_docs/collections.md index a41d9a6c..38030b35 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -48,7 +48,7 @@ Matter is provided, Jekyll will not generate the file in your collection.
Be sure to name your directories correctly

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

From a8b7a224c8ac8f9f9725e109e7e8327e3b960a18 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 20 Mar 2015 12:58:25 -0400 Subject: [PATCH 4/4] Add missing word, phrasing --- site/_docs/collections.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/_docs/collections.md b/site/_docs/collections.md index 38030b35..c8dd4455 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -69,8 +69,8 @@ For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be rendered using Liquid and the Markdown converter of your choice and written out to `/my_collection/some_subdir/some_doc.html`. -As for posts with [Permalinks](../permalinks/), document URL can be customized -by setting a `permalink` metadata to the collection: +As for posts with [Permalinks](../permalinks/), the document +URL can be customized by setting `permalink` metadata for the collection: {% highlight yaml %} collections: