Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
handlebars 0.13.1 - Docs.rs
[go: Go Back, main page]

handlebars 0.13.1

Handlebars templating implemented in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
  <head>
    <title>中超联赛 {{year}}</title>
  </head>
  <body>
    <h1>CSL {{year}}</h1>
    <ul>
    {{#each teams~}}
      <li class="{{#if @first}}champion{{/if}}">
      {{~log @index~}}
      <b>{{name}}</b>: {{format pts ~}}
      </li>
    {{/each~}}
    </ul>

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