Updating the 404 page
This commit is contained in:
parent
d188e140ec
commit
ff3da7e98c
2 changed files with 4 additions and 1 deletions
|
@ -6,5 +6,9 @@
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<h1>Oopsy poopsy...</h1>
|
<h1>Oopsy poopsy...</h1>
|
||||||
<h2>Page not found! 404</h2>
|
<h2>Page not found! 404</h2>
|
||||||
|
<div class="alert alert-warning" role="alert">
|
||||||
|
<span class="glyphicon glyphicon-fire"></span> If you think this page should be here please contact <a href="mailto:{{ config.ADMIN_EMAIL }}" class="alert-link">{{ config.ADMIN_NAME }}</a>,
|
||||||
|
describing why it should be here. <strong>Thank you</strong> very much! <span class="glyphicon glyphicon-fire"></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -92,7 +92,6 @@ def index():
|
||||||
offset = page_no * results_per_page
|
offset = page_no * results_per_page
|
||||||
available_pages = math.floor((len(results) - offset) / results_per_page)
|
available_pages = math.floor((len(results) - offset) / results_per_page)
|
||||||
|
|
||||||
|
|
||||||
# Compute the available pages to the left
|
# Compute the available pages to the left
|
||||||
pages_left = min(page_no, max_pages)
|
pages_left = min(page_no, max_pages)
|
||||||
# Compute the available pages to the right
|
# Compute the available pages to the right
|
||||||
|
|
Loading…
Reference in a new issue