Merge pull request #1147 from beeeswax/frontmatter-nil

Add a Pro Tip to docs about front matter variables being optional
This commit is contained in:
Parker Moore 2013-06-03 12:00:40 -07:00
commit 94e5cb151f
1 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,16 @@ relies on.
</p>
</div>
<div class="note">
<h5>ProTip™: Front Matter Variables Are Optional</h5>
<p>
If you want to use <a href="../variables">Liquid tags and variables</a> but
don't need anything in your front-matter, just leave it empty! The set of
triple-dashed lines with nothing in between will still get Jekyll to process
your file. (This is useful for things like CSS and RSS feeds!)
</p>
</div>
## Predefined Global Variables
There are a number of predefined global variables that you can set in the