mustache.js
Minimal templating with {{mustaches}} in JavaScript
...It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values. Tags are indicated by the double mustaches. {{person}} is a tag, as is {{#person}}. In both examples, we'd refer to person as the key or tag key. All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}}. You can also use & to unescape a variable: {{& name}}. ...