问题
How do you force handlebars.js to ignore (and not render) templates?
回答1:
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.
回答2:
HTML entity might be a solution if you just wang to display your brackets. Try { and }.
来源:https://stackoverflow.com/questions/22249235/render-double-curly-brackets-inside-handlebars-partial