summaryrefslogtreecommitdiffstats
path: root/vendor/handlebars/examples/error/error.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/handlebars/examples/error/error.hbs')
-rw-r--r--vendor/handlebars/examples/error/error.hbs21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/handlebars/examples/error/error.hbs b/vendor/handlebars/examples/error/error.hbs
new file mode 100644
index 000000000..89537e71e
--- /dev/null
+++ b/vendor/handlebars/examples/error/error.hbs
@@ -0,0 +1,21 @@
+{{! 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>