askama/testing/templates/nested-macro-args.html
Michael Pollind ce73e73720 feat: add caller pattern and adjust syntax to closer match jinja
Signed-off-by: Michael Pollind <mpollind@gmail.com>
2025-05-22 22:50:40 +02:00

10 lines
217 B
HTML

{%- macro outer(first) -%}
{%- call inner(first, "second") -%}{%- endcall -%}
{%- endmacro -%}
{%- macro inner(first, second) -%}
{{ first }} {{ second }}
{%- endmacro -%}
{%- call outer("first") -%}{%- endcall -%}