summaryrefslogtreecommitdiff
path: root/tests/data/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/template.html')
-rw-r--r--tests/data/template.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/data/template.html b/tests/data/template.html
index 153303c..6f668ee 100644
--- a/tests/data/template.html
+++ b/tests/data/template.html
@@ -1,5 +1,16 @@
<div>
I'm so rich I have $$3.
- $echo test!$
+ $echo test$
+ $if(body)$
+ I have body
+ $else$
+ or no
+ $endif$
+ $if(unbound)$
+ should not be printed
+ $endif$
+ $if(body)$
+ should be printed
+ $endif$
$body$
</div>