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

handlebars 1.0.0-beta.3

Handlebars templating implemented in Rust.
Documentation
{{! 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>