Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from kevwilde/22-page-not-found
Implemented #22: Make a proper 404 page.
- Loading branch information
Showing
4 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
404: File not found. | ||
{% extends "base.html" %} | ||
{% load url from future %} | ||
|
||
{% block content %} | ||
<div class="span12"> | ||
<div class="http-error"> | ||
<h1 class="http-error-number"> | ||
404 | ||
</h1> | ||
<p class="http-error-message"> | ||
The page you are looking for can't be found. Try our <a href="{% url 'home' %}">Homepage</a>. | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
500: Server error. | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<div class="span12"> | ||
<div class="http-error"> | ||
<h1 class="http-error-number"> | ||
500 | ||
</h1> | ||
<p class="http-error-message"> | ||
Oops, look like we broke something. We received a notification | ||
and will fix it as soon as possible. In the meantime, you can | ||
go back to our <a href="/">Homepage</a>. | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters