Add Info labels to sections

This commit is contained in:
chrisfinazzo 2015-03-20 11:05:58 -04:00
parent e82eaa4b0f
commit 55392fd8d2
1 changed files with 12 additions and 2 deletions

View File

@ -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 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. Matter is provided, Jekyll will not generate the file in your collection.
<div class="note info">
<h5>Be sure to name your directories correctly</h5>
<p>
Note: the folder must be named identically to the collection you defined in Note: 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.
</p>
</div>
### Step 3: Optionally render your collection's documents into independent files ### 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 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`. written out to `<dest>/awesome/some_subdir/some_doc/index.html`.
**Note that files in collections that do not have front matter are treated <div class="note info">
<h5>Don't forget to add YAML for processing</h5>
<p>
Files in collections that do not have front matter are treated
as static files and simply copied to their output location without as static files and simply copied to their output location without
processing.** processing.
</p>
</div>
<div class="mobile-side-scroller"> <div class="mobile-side-scroller">
<table> <table>