You can copy the yaml-code below and use it as frontmatter for an example page.
You can paste this URL into GitHub Issues to share your setup when filing bugs or questions
Handlebars:
Template
<div class="entry">
{{#if author}}
<h1>{{firstName}} {{lastName}}</h1>
{{else}}
<h1>Unknown Author</h1>
{{/if}}
</div>
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
// return string.toUpperCase()
// });
Input
{
author: false,
firstName: "Yehuda",
lastName: "Katz",
}
Output
<div class="entry">
<h1>Unknown Author</h1>
</div>