We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9714a commit ed7038eCopy full SHA for ed7038e
1 file changed
extra/cache-extra/Tests/Fixtures/macro.test
@@ -2,9 +2,9 @@
2
macro call inside "cache" tag
3
--TEMPLATE--
4
{% macro macro_out(bar) %}{{ bar }}{% endmacro %}
5
+{% macro macro_in(bar) %}{{ bar }}{% endmacro %}
6
1
7
{% cache "testmacro1" ttl(3) %}
- {%~ macro macro_in(bar) %}{{ bar }}{% endmacro %}
8
9
{{ _self.macro_out(3) }}
10
{{ _self.macro_in(4) }}
0 commit comments