summaryrefslogtreecommitdiffstats
path: root/vendor/handlebars/examples/error/error.hbs
blob: 89537e71e8fc9cdf462f95ddd7abf54ce88a46c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{! this is an invalid template }}

<html>
  <head>
    <title>中超联赛 {{year}}</title>
  </head>
  <body>
    <h1>CSL {{year}}</h1>
    <ul>
      {{#each teams as |t| ~}}
      <li class="{{ranking_label true ../teams}}">
      {{~log @index~}}
      <b>{{t.name}}</b>: {{format t.pts ~}}
      </li>
      {{! mismatched helper close tag }}
      {{/arch~}}
    </ul>

    <p>Rendered by Handlebars from {{engine}} data.</p>
  </body>
</html>