Show less pager items on mobile

This commit is contained in:
Oliver Davies 2018-06-21 06:58:48 +01:00
parent 5b036deaaf
commit 21cf592ffe

View file

@ -13,7 +13,7 @@
</li>
{% for i in range(1, page.pagination.total_pages) %}
<li>
<li class="{{ i > (page.pagination.page + 2) or i < (page.pagination.page - 2) ? 'hidden sm:block' }}">
{% if i == page.pagination.page %}
<span class="p-3 border border-grey text-white bg-blue -mr-px">
{{ i }}