【发布时间】:2011-04-04 06:58:04
【问题描述】:
如何在 Express framework 中包含的 EJS 视图引擎中配置打开/关闭标签 (see "Custom Tags" in the documentation)?
【问题讨论】:
如何在 Express framework 中包含的 EJS 视图引擎中配置打开/关闭标签 (see "Custom Tags" in the documentation)?
【问题讨论】:
在http://expressjs.com/guide.html#view-rendering下的文档中找到了这个
app.set('view options', {
open: '{{',
close: '}}'
});
【讨论】: