diff options
Diffstat (limited to 'tests/data/template-with-logic/child.tmpl')
-rw-r--r-- | tests/data/template-with-logic/child.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/template-with-logic/child.tmpl b/tests/data/template-with-logic/child.tmpl new file mode 100644 index 0000000..42687b6 --- /dev/null +++ b/tests/data/template-with-logic/child.tmpl @@ -0,0 +1,10 @@ +{% extends "base.tmpl" %} + +{% block content -%} + {{ "Hello World" | lower }} + {% if 2 < 1 -%} + 2 is less than 1. + {%- else -%} + 2 is more than 1. + {%- endif %} +{%- endblock %}
\ No newline at end of file |