examples/decorator/template.hbs
raw| 1 | {{*format_suffix "分"}} |
| 2 | |
| 3 | <html> |
| 4 | <head> |
| 5 | <title>CSL {{year}}</title> |
| 6 | </head> |
| 7 | <body> |
| 8 | <h1>CSL {{year}}</h1> |
| 9 | <ul> |
| 10 | {{#each teams as |t|}} |
| 11 | <li class="{{ranking_label @index ../teams}}"> |
| 12 | {{~log @index~}} |
| 13 | <b>{{t.name}}</b>: {{format t.pts ~}} |
| 14 | </li> |
| 15 | {{/each}} |
| 16 | </ul> |
| 17 | |
| 18 | {{*set version="v3.0"}} |
| 19 | <p>Rendered by Handlebars {{version}} from {{engine}} data.</p> |
| 20 | </body> |
| 21 | </html> |