diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/handlebars/examples/render_file/template.hbs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/handlebars/examples/render_file/template.hbs b/vendor/handlebars/examples/render_file/template.hbs new file mode 100644 index 000000000..84a0d6bc0 --- /dev/null +++ b/vendor/handlebars/examples/render_file/template.hbs @@ -0,0 +1,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> |