Configure EJS view engine options - Express framework
How can I configure the open/cl开发者_如何学编程ose tags (see "Custom Tags" in the documentation) in the EJS view engine, which is included in the Express framework?
Found this in the documentation, under http://expressjs.com/guide.html#view-rendering
app.set('view options', {
open: '{{',
close: '}}'
});
精彩评论