Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for template arrays when using extends #754

Merged
merged 2 commits into from
Nov 1, 2020
Merged

Add support for template arrays when using extends #754

merged 2 commits into from
Nov 1, 2020

Conversation

justafish
Copy link
Contributor

This currently doesn't work:

{% extends ['one.twig', 'two.twig'] %}

See https://twig.symfony.com/doc/2.x/tags/extends.html#dynamic-inheritance under "You can also provide a list of templates that are checked for existence"

@RobLoach RobLoach merged commit c5e5b72 into twigjs:master Nov 1, 2020
@RobLoach
Copy link
Collaborator

RobLoach commented Nov 1, 2020

Thanks Sally! 🚀

@justafish
Copy link
Contributor Author

@RobLoach you're welcome! Is there any chance of a release coming up soon? 😁

@justafish justafish deleted the extends-array branch November 5, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants