I have a homepage (homepage.html) in a home app in Django. I need to extend this homepage with base.html from the root directory. I also need to include header.html (that sits in the same folder of homepage.html) along with its CSS files.
The challenge here is, since the homepage extends base.html, all css stylesheets available to the homepage.html is present in the base.html. This is because, the inclusion of header.html only happens in the body and the CSS is not available in the head section.
Is there any way to push the CSS files of header.html into the homepage so that the stylesheets are available in the head?
Looking forward