Handlebars:
Template
{{#each paragraphs}}
<p>{{this}}</p>
{{else}}
<p class="empty">No content</p>
{{/each}}
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{}
Output
<p class="empty">No content</p>
마지막 업데이트: 2024. 6. 5. 오후 11:37:24