Skip to content

"raw" block helper #353

@sebpiq

Description

@sebpiq

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions