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
{{#each people}}
{{print_person}}
{{/each}}
Preparation-Script
Handlebars.registerHelper('print_person', function () {
return this.firstname + ' ' + this.lastname
})
Input
{
people: [
{
firstname: "Nils",
lastname: "Knappmeier",
},
{
firstname: "Yehuda",
lastname: "Katz",
},
],
}
Output
Nils Knappmeier
Yehuda Katz