aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/complex.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mstch/test/data/complex.mustache')
-rw-r--r--lib/mstch/test/data/complex.mustache16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/mstch/test/data/complex.mustache b/lib/mstch/test/data/complex.mustache
new file mode 100644
index 0000000..869a4f0
--- /dev/null
+++ b/lib/mstch/test/data/complex.mustache
@@ -0,0 +1,16 @@
+<h1>{{header}}</h1>
+{{#list}}
+ <ul>
+ {{#item}}
+ {{#current}}
+ <li><strong>{{name}}</strong></li>
+ {{/current}}
+ {{#link}}
+ <li><a href="{{url}}">{{name}}</a></li>
+ {{/link}}
+ {{/item}}
+ </ul>
+{{/list}}
+{{#empty}}
+ <p>The list is empty.</p>
+{{/empty}}