This PR makes it possible to override the head and scripts' templates without the need to override the entire baseof.html.
Changes / fixes
breakup base template into modular bits #160
improve attributes readability inside the base template
These changes were possible while keeping the templates as DRY as possible. I used return values for the main script and styles bundle so that their definitions can be compartmentalized while still being accessible from other templates.
@rootwork, I reckon this is a good start upon which we can iterate & improve.
Screenshots (if applicable)
(prefer animated gif)
Checklist
Ensure you have checked off the following before submitting your PR.
This PR makes it possible to override the head and scripts' templates without the need to override the entire
baseof.html
.Changes / fixes
These changes were possible while keeping the templates as DRY as possible. I used return values for the main script and styles bundle so that their definitions can be compartmentalized while still being accessible from other templates.
@rootwork, I reckon this is a good start upon which we can iterate & improve.
Screenshots (if applicable)
(prefer animated gif)
Checklist
Ensure you have checked off the following before submitting your PR.