Debian Codegraph @

tests/bench/templates/complex.handlebars

raw
1 <h1>{{header}}</h1>
2 {{#if items}}
3 <ul>
4 {{#each items}}
5 {{#if current}}
6 <li><strong>{{name}}</strong></li>
7 {{^}}
8 <li><a href="{{url}}">{{name}}</a></li>
9 {{/if}}
10 {{/each}}
11 </ul>
12 {{^}}
13 <p>The list is empty.</p>
14 {{/if}}