Skip to content

Allow include-style with variables to embed - #344

Merged
yogthos merged 1 commit into
yogthos:masterfrom
vendethiel:embed-with
Aug 20, 2026
Merged

yogthos merged 1 commit into
yogthos:masterfrom
vendethiel:embed-with

Conversation

@vendethiel

Copy link
Copy Markdown
Contributor

Reuses the machinary already in place for include (including allowing omiting the with keyword itself).

There's currently a bug where a {{block.super}} does not have its variables kept, but that bug happens at the preprocess-template level and does not prevent this feature from being useful.

Reuses the machinary already in place for include (including allowing
omiting the `with` keyword itself).
@seancorfield

Copy link
Copy Markdown
Collaborator

Seems reasonable to me.

@yogthos
yogthos merged commit 2ac14a5 into yogthos:master Aug 20, 2026
3 checks passed
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.

3 participants