fix template bug

pull/2/head
lza_menace 4 years ago
parent 1624c4c90c
commit c7168b21ee

@ -40,11 +40,13 @@
<p>No posts yet!</p>
{% endif %}
{% if total_pages %}
<div class="page-btn">
{% for p in range(1, total_pages + 1) %}
<a href="{% if request.args.submitter %}/?submitter={{ request.args.submitter }}&{% else %}/?{% endif %}page={{ p }}" class="pure-button btn {% if p == page %}current-page-btn{% endif %}">{{ p }}</a>
{% endfor %}
</div>
{% endif %}
</div>

Loading…
Cancel
Save