我发现在Handlebars中,循环的使用:
{{#each foo}} static text or {{bar}} or {{.}} {{/each}}
和有条件的:
{{#if foo}} static text or {{bar}} or {{.}} {{/if}}
两者都可以替换为
{{#foo}} static text or {{bar}} or {{.}} {{/foo}}
但我在官方文档中找不到任何内容。这是真的吗?有人知道它可能记录在哪里吗?