askama/testing/templates/macro-import-str-cmp.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

16 lines
224 B
HTML

{%- import "macro-import-str-cmp-macro.html" as macros -%}
A
{%- call macros::strcmp("foo") -%}{%- endcall -%}
B
{%- call macros::strcmp("bar") -%}{%- endcall -%}
C
{%- call macros::strcmp("cat") -%}{%- endcall -%}
D