Top "Mustache" questions

Mustache is a "logic-less" templating language available in a range of languages.

What are the pros/cons of using mustache with Backbone.js?

I'm learning backbone.js for a Rails 3 application I'm working on. Backbone uses underscore which, I believe, has its own …

backbone.js underscore.js mustache
How to load templates with Hogan.JS from an external file?

I use Hogan.JS as JavaScript templating library. It is supposed to load JavaScript templates from external files. One can …

javascript templates external mustache hogan.js
How to stock my Mustache / Handlebars templates in separate files?

I'm using handlebars.js on a project and I'm starting to have a fair amount of templates. For now they …

javascript backbone.js mustache handlebars.js
Mustache: Globally disable html escaping?

Is there a way how I can (without modifying the sources of mustache) disable the HTML escaping? I'm using mustache …

javascript mustache
Is there a way to set a counter in a mustache iteration?

I have a code that renders a mustache template with some iterations like: {{#items}} some html code.... {{/items}} but I …

mustache
What is the difference between Mustache.render() and Mustache.to_html()?

The documentation makes no mention of Mustache.to_html(), but every tutorial for Mustache.js online uses Mustache.to_html(). …

javascript mustache
Mustache Partials in PHP - How do I use them?

CONTEXT: I have read as much Mustache documentation as possible but I cannot get my head around how to use …

php mustache
Precompile mustache templates or load externally?

It would be useful to have a Coffeescript include function so it could load the external mustache templates when compiling …

javascript coffeescript mustache
Mustache: read variables from parent section in child section

Is it possible in Mustache to read variable from parent section while in child section? for instance my example below, …

php mustache
What is {{.}} in mustache?

I'm starting to look through some mustache templates and I've come across something that I don't understand/haven't been able …

mustache