Commit d2281e669260ef341e67ec5a28ce5e29e12b5722
1 parent
d92e0364
Exists in
master
and in
39 other branches
Removing header and footer from error pages
Showing
2 changed files
with
4 additions
and
8 deletions
Show diff stats
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 %} |