Debian Codegraph @

examples/error/template.hbs

raw
1 <html>
2 <head>
3 <title>中超联赛 {{year}}</title>
4 </head>
5 <body>
6 <h1>CSL {{year}}</h1>
7 <ul>
8 {{#each teams as |t|}}
9 {{! ranking_label will produce a render error when first parameter is not a number }}
10 <li class="{{ranking_label true ../teams}}">
11 {{~log @index~}}
12 <b>{{t.name}}</b>: {{format t.pts ~}}
13 </li>
14 {{/each}}
15 </ul>
16
17 <p>Rendered by Handlebars from {{engine}} data.</p>
18 </body>
19 </html>