4 Commits

Author SHA1 Message Date
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
Bastien Orivel
ea66be1925 Allow {% endmacro name %}
Just migrated a repo from tera to askama and this was one of the only
things that was different. This is also coherent with `{% block %}` for
which I added the same feature years ago.
2022-04-29 13:35:20 +02:00
larros
614ed6d16f Fix whitespace handling for macros and imports (#55)
Resolves https://github.com/djc/askama/issues/52.

* Fix of review comments
2017-10-01 18:00:05 +02:00
Dirkjan Ochtman
d0a3d51dcd Add test for basic macro use 2017-08-22 20:22:33 +02:00