diff options
Diffstat (limited to 'tests/template_tests/templates/recursive_include.html')
| -rw-r--r-- | tests/template_tests/templates/recursive_include.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/template_tests/templates/recursive_include.html b/tests/template_tests/templates/recursive_include.html new file mode 100644 index 0000000000..dc848f32af --- /dev/null +++ b/tests/template_tests/templates/recursive_include.html @@ -0,0 +1,7 @@ +Recursion! +{% for comment in comments %} + {{ comment.comment }} + {% if comment.children %} + {% include "recursive_include.html" with comments=comment.children %} + {% endif %} +{% endfor %} |
