I\'m using mustache. I\'m generating a list of notifications. A notification JSON object looks like:
[{\"id\":1364,\"read\":true,\"author_id\":30,\"author_na
In general, you use the # syntax:
#
{{#a_boolean}} I only show up if the boolean was true. {{/a_boolean}}
The goal is to move as much logic as possible out of the template (which makes sense).