diff options
Diffstat (limited to 'lib/mstch/test/data/dot_notation.mustache')
| -rw-r--r-- | lib/mstch/test/data/dot_notation.mustache | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mstch/test/data/dot_notation.mustache b/lib/mstch/test/data/dot_notation.mustache new file mode 100644 index 0000000..f89d70b --- /dev/null +++ b/lib/mstch/test/data/dot_notation.mustache @@ -0,0 +1,9 @@ +<!-- exciting part --> +<h1>{{name}}</h1> +<p>Authors: <ul>{{#authors}}<li>{{.}}</li>{{/authors}}</ul></p> +<p>Price: {{{price.currency.symbol}}}{{price.value}} {{#price.currency}}{{name}} <b>{{availability.text}}</b>{{/price.currency}}</p> +<p>VAT: {{{price.currency.symbol}}}{{#price}}{{vat}}{{/price}}</p> +<!-- boring part --> +<h2>Test truthy false values:</h2> +<p>Zero: {{truthy.zero}}</p> +<p>False: {{truthy.notTrue}}</p> |
