Reputation: 133
base.html
Blogpage.html
Results:
The base template is added but i can't insert contents between {% block content%} {% endblock %}. Please help. Thanks in advance . :)
Upvotes: 0
Views: 241
Reputation: 21
I think you should use {% endblock content %} as there are two blocks of code.
Just let the template engine know which block is ending where. Like {% endblock content %} and {% endblock foot %}
Upvotes: 0