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 2.0.0-beta.1 - Docs.rs
[go: Go Back, main page]

handlebars 2.0.0-beta.1

Handlebars templating implemented in Rust.
Documentation
{{*format_suffix "分"}}
<html>
  <head>
    <title>中超联赛 {{year}}</title>
  </head>
  <body>
    <h1>CSL {{year}}</h1>
    <ul>
    {{#each teams as |t| ~}}
      <li class="{{ranking_label @index ../teams}}">
      {{~log @index~}}
      <b>{{t.name}}</b>: {{format t.pts ~}}
      </li>
    {{/each~}}
    </ul>

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