examples/error/error.hbs
raw| 1 | {{! this is an invalid template }} |
| 2 | |
| 3 | <html> |
| 4 | <head> |
| 5 | <title>中超联赛 {{year}}</title> |
| 6 | </head> |
| 7 | <body> |
| 8 | <h1>CSL {{year}}</h1> |
| 9 | <ul> |
| 10 | {{#each teams as |t| ~}} |
| 11 | <li class="{{ranking_label true ../teams}}"> |
| 12 | {{~log @index~}} |
| 13 | <b>{{t.name}}</b>: {{format t.pts ~}} |
| 14 | </li> |
| 15 | {{! mismatched helper close tag }} |
| 16 | {{/arch~}} |
| 17 | </ul> |
| 18 | |
| 19 | <p>Rendered by Handlebars from {{engine}} data.</p> |
| 20 | </body> |
| 21 | </html> |