The base.html file is not rendering correctly when extended in another HTML file. Styling and essential elements such as the navbar and footer are not applied or displayed as expected.
Steps to Reproduce
Extend base.html in a template using the following directives:
{% extends 'base.html' %}
{% block body %}
<!-- Content of the specific page goes here -->
{% endblock %}
Open the extended page in a browser.
Expected Behavior
The page should render with correct styling, including the navbar and footer from base.html.
Actual Behavior
The styling and essential elements are missing when extending base.html. The issue persists unless the following block is explicitly added into base.html :
Issue Description:
Problem
The
base.html
file is not rendering correctly when extended in another HTML file. Styling and essential elements such as the navbar and footer are not applied or displayed as expected.Steps to Reproduce
base.html
in a template using the following directives:Expected Behavior
The page should render with correct styling, including the navbar and footer from
base.html
.Actual Behavior
The styling and essential elements are missing when extending
base.html
. The issue persists unless the following block is explicitly added intobase.html
: