diff options
Diffstat (limited to 'testing/templates/named-end.html')
-rw-r--r-- | testing/templates/named-end.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/templates/named-end.html b/testing/templates/named-end.html new file mode 100644 index 0000000..35eb0bb --- /dev/null +++ b/testing/templates/named-end.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{# Testing named "endmacro" #} +{% macro foo(b) -%} + {% if b %}t{% else %}f{% endif -%} +{% endmacro foo -%} +{# Testing named endblock declaration #} +{% block what %}{% endblock what %} +{# Testing named endblock call #} +{% block foo %}tadam{% endblock foo %} |