1
0
mirror of https://github.com/djohnlewis/stackdump synced 2025-12-06 16:03:27 +00:00

Implemented random questions on home pages. Also consolidated the index pages into a single template.

This commit is contained in:
Samuel Lai
2012-02-11 22:32:23 +11:00
parent 6c58938d44
commit 06e210d37a
7 changed files with 52 additions and 58 deletions

View File

@@ -44,6 +44,7 @@
</li>
{% endfor %}
</ul>
{% if total_pages and total_pages > 1 %}
<div class="pagination">
<ul>
{% if current_page > 1 %}
@@ -63,4 +64,5 @@
{% endif %}
</ul>
</div>
{% endif %}
{% endif %}