Removing duplicate page numbers and Catalog link from index page template

This commit is contained in:
Benjamin Southall 2016-12-13 01:09:25 +09:00
parent 68e80524c5
commit 243c1a3a52

View File

@ -72,14 +72,6 @@
{% include 'report_delete.html' %} {% include 'report_delete.html' %}
</form> </form>
<div class="pages">
{{ btn.prev }} {% for page in pages %}
[<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
{% endfor %} {{ btn.next }}
{% if config.catalog_link %}
| <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">{% trans %}Catalog{% endtrans %}</a>
{% endif %}
</div>
{{ boardlist.bottom }} {{ boardlist.bottom }}