Commit d2281e669260ef341e67ec5a28ce5e29e12b5722

Authored by Sergio Oliveira
1 parent d92e0364

Removing header and footer from error pages

src/templates/404.html
1 {% extends "base.html" %} 1 {% extends "base.html" %}
2 {% load i18n %} 2 {% load i18n %}
3 3
4 -{% block header %}  
5 - {% include "includes/big_header.html" %}  
6 -{% endblock %}  
7 -  
8 {% block main-content %} 4 {% block main-content %}
9 <h1>{% trans "Not found. Keep searching! :)" %}</h1> 5 <h1>{% trans "Not found. Keep searching! :)" %}</h1>
10 {% endblock %} 6 {% endblock %}
  7 +
  8 +{% block footer %}{% endblock %}
src/templates/500.html
1 {% extends "base.html" %} 1 {% extends "base.html" %}
2 {% load i18n %} 2 {% load i18n %}
3 3
4 -{% block header %}  
5 - {% include "includes/big_header.html" %}  
6 -{% endblock %}  
7 -  
8 {% block main-content %} 4 {% block main-content %}
9 <h1>{% trans "Ooopz... something went wrong!" %}</h1> 5 <h1>{% trans "Ooopz... something went wrong!" %}</h1>
10 {% endblock %} 6 {% endblock %}
  7 +
  8 +{% block footer %}{% endblock %}