Search code examples
handlebars.js

Render double curly-brackets inside handlebars partial


How do you force handlebars.js to ignore (and not render) templates?


Solution

  • It's possible to escape the line with backslash

    \{{>partialName}}
    

    It's not mentioned in the documentation, but a look at the source-code documentation revealed this technique.