summaryrefslogtreecommitdiffstats
path: root/vendor/handlebars/examples/render_file/template.hbs
blob: 84a0d6bc036cf577208114d1d38193485f8735be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
  <head>
    <title>中超联赛 {{year}}</title>
  </head>
  <body>
    <h1>CSL {{year}}</h1>
    <ul>
    {{#each teams as |t| }}
      <li class="{{ranking_label @index ../teams}}">
      {{~log @index~}}
      {{!-- I'm comment --}}
      <b>{{t.name}}</b>: {{format t.pts ~}}
      </li>
    {{/each}}
    </ul>

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