Skip to content

Conversation

@thanay2007
Copy link

Description

This pull request resolves the issue of inconsistent template overrides for the bottomimports block.

Many child templates were overriding the block without including {{ block.super }}, which prevented the base scripts defined in base.html from loading on those pages. This change adds {{ block.super }} to all affected templates, ensuring that the parent block's content is always included.

This guarantees consistent script loading across the entire application.

Fixes : #1369

@mrjoshuap
Copy link
Contributor

Commenting to give it a spin.

@mrjoshuap
Copy link
Contributor

I solved the merge conflict on my side and seems to work -- at least no new errors and pages render properly!

Do you happen to have an example template override I can use for testing? I've never done this and aren't sure what would be something to test?

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.

Inconsistent template override behavior in custom/templates

2 participants