mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 21:41:35 +00:00
10 lines
317 B
HTML
10 lines
317 B
HTML
{% macro foo(b) -%}
|
|
{{ b }}
|
|
{%- endmacro -%}
|
|
{% call foo(true) -%}{% endcall -%}
|
|
{% call foo(true && true) -%}{% endcall -%}
|
|
{% call foo(true && true && true) -%}{% endcall -%}
|
|
{% call foo(false) -%}{% endcall -%}
|
|
{% call foo(false || true) -%}{% endcall -%}
|
|
{% call foo(false || false || true) -%}{% endcall -%}
|