Handlebars:
Template
{{> myPartial }}
Preparation-Script
Handlebars.registerPartial('myPartial', '{{prefix}}');
Input
{ prefix: "Hello" }
Output
Hello
最后更新: 2020/2/25 16:23:24