Debian Codegraph @

examples/render/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 <li class="{{ranking_label @index ../teams}}">
10 {{~log @index~}}
11 <b>{{t.name}}</b>: {{format t.pts ~}}
12 </li>
13 {{/each}}
14 </ul>
15
16 <p>Rendered by Handlebars from {{engine}} data.</p>
17 </body>
18 </html>