Handlebars {{!-- You can use the t function to get content translated to the current locale, es: {{t 'article_list'}} --}} <h1>{{t 'article_list'}}</h1> {{! one line comment }} {{#each articles}} {{~title}} <p>{{excerpt body size=120 ellipsis=true}}</p> {{#with author}} written by {{first_name}} {{last_name}} from category: {{../category.title}} {{#if @../last}}foobar!{{/if}} {{/with~}} {{#if promoted.latest}}Read this one! {{else}}This is ok! {{/if}} {{#if @last}} <hr> {{/if}} {{/each}} {{#form new_comment}} <input type="text" name="body"> {{/form}} AخA 1 {{!--2 You can use the t function to get3 content translated to the current locale, es:4 {{t 'article_list'}}5 --}} <h1>{{t 'article_list'}}</h1> {{! one line comment }}6 {{#each articles}} {{~title}}7 <p>{{excerpt body size=120 ellipsis=true}}</p>8 {{#with author}} written by {{first_name}} {{last_name}} from category: {{../category.title}}9 {{#if @../last}}foobar!{{/if}}10 {{/with~}}11 {{#if promoted.latest}}Read this one! {{else}}This is ok! {{/if}}12 {{#if @last}}13 <hr>14 {{/if}}15 {{/each}}16 {{#form new_comment}}17 <input type="text" name="body"> {{/form}}18 Handlebars syntax highlighting for CodeMirror. MIME types defined: text/x-handlebars-template