Add a Pro Tip to docs about front matter variables being optional

This commit is contained in:
m 2013-06-03 11:07:35 -05:00
parent 4270cce2e0
commit 4efaaa8232
1 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,16 @@ relies on.
</p> </p>
</div> </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 ## Predefined Global Variables
There are a number of predefined global variables that you can set in the There are a number of predefined global variables that you can set in the