mirror of
https://github.com/copier-org/copier.git
synced 2025-05-28 10:31:21 +00:00
Add jinja2 extension for yield tag, allow _render_path to generate multiple paths and contexts when yield tag is used. The tag is only allowed in path render contexts. When rendering within a file, it doesn't make sense. Use the normal for tag there. If you use yield, you'll get an exception. Fixes https://github.com/copier-org/copier/issues/1271
21 B
21 B
::: copier.jinja_ext