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}}
{{> myPartial prefix=../prefix firstname=firstname lastname=lastname}}.
{{/each}}
myPartial
[rename] [delete]
{{prefix}}, {{firstname}} {{lastname}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
// return string.toUpperCase()
// });
Input
{
people: [
{
firstname: "Nils",
lastname: "Knappmeier",
},
{
firstname: "Yehuda",
lastname: "Katz",
},
],
prefix: "Hello",
}
Output
Hello, Nils Knappmeier.
Hello, Yehuda Katz.