39
rated 0 times
[
41]
[
2]
/ answers: 1 / hits: 45634
/ 12 Years ago, wed, december 19, 2012, 12:00:00
I'm trying to template a template, like below:
{{{
{
name : {{name}},
description : {{description}}
}
}}}
{{{debug this}}}
<h1>{{name}}</h1>
Where I want to triple brackets to stay, but double brackets to be replaced with the JSON passed in. Anyone know the best way to do this without writing post-process JS code, and if not, is there a good nodeJS template engine for this type of scenario?
More From » node.js