Handlebars:
Template
{{#*inline "myPartial"}}
  My Content
{{/inline}}
{{#each people}}
  {{> myPartial}}
{{/each}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{
  people: [
    { firstname: "Nils" },
    { firstname: "Yehuda" },
  ],
}
Output
    My Content
    My Content
마지막 업데이트: 2024. 6. 5. 오후 11:37:24