Hi !
Still messing-up with templating systems backend VS frontend (#227), now using Node.js.
I'd like to use Handlebars both for the frontend and backend. But of course, if I include handlebars templates in my HTML page to be used frontend-side, they are rendered by the backend (and that's obviously not the point).
I tried to implement a simple {{#raw}}{{/raw}} helper, which would just ignore a piece of code, but didn't manage ... Is there a way to do that ?
Hi !
Still messing-up with templating systems backend VS frontend (#227), now using Node.js.
I'd like to use Handlebars both for the frontend and backend. But of course, if I include handlebars templates in my HTML page to be used frontend-side, they are rendered by the backend (and that's obviously not the point).
I tried to implement a simple
{{#raw}}{{/raw}}helper, which would just ignore a piece of code, but didn't manage ... Is there a way to do that ?