Add documentation for collection static files
Any file without valid front matter in a collection is available via `collection.files`. Inspired by #3583.
This commit is contained in:
parent
c96062781d
commit
e82eaa4b0f
|
@ -77,6 +77,10 @@ collections:
|
|||
For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be
|
||||
written out to `<dest>/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.**
|
||||
|
||||
<div class="mobile-side-scroller">
|
||||
<table>
|
||||
<thead>
|
||||
|
@ -173,6 +177,16 @@ you specified in your `_config.yml` (if present) and the following information:
|
|||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>files</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An array of static files in the collection.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>relative_directory</code></p>
|
||||
|
|
Loading…
Reference in New Issue