From e82eaa4b0f27f15de13bde04ccaca88b7ecbdf37 Mon Sep 17 00:00:00 2001 From: sonnym Date: Thu, 19 Mar 2015 17:16:08 -0700 Subject: [PATCH] Add documentation for collection static files Any file without valid front matter in a collection is available via `collection.files`. Inspired by #3583. --- site/_docs/collections.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/site/_docs/collections.md b/site/_docs/collections.md index 393cbf6f..12df6936 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -77,6 +77,10 @@ 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 +as static files and simply copied to their output location without +processing.** +
@@ -173,6 +177,16 @@ you specified in your `_config.yml` (if present) and the following information:

+ + + +
+

files

+
+

+ An array of static files in the collection. +

+

relative_directory