Is there any problem with the syntax in the following code, there is a error as Invalid block tag: \'else\'
Invalid block tag: \'else\'
{% ifequal chat_profile 1 %}
The documentation states:
If you use {% extends %} in a template, it must be the first template tag in that template. Template inheritance won't work, otherwise.
So consider using a design where you can use {% include %} instead.
{% include %}