Fix widths on last page

This commit is contained in:
Oliver Davies 2018-03-01 07:39:54 +00:00
parent 6ad54f56d7
commit e1505569c8

View file

@ -43,7 +43,7 @@ use: [posts]
{% endif %} {% endif %}
{% if page.pagination.previous_page %} {% if page.pagination.previous_page %}
<li class="w-1/2 text-right"> <li class="text-right {{ page.pagination.next_page and page.pagination.previous_page ? 'w-1/2' : 'w-full' }}">
<a href="{{ site.url }}{{ page.pagination.previous_page.url }}">Newer posts →</a> <a href="{{ site.url }}{{ page.pagination.previous_page.url }}">Newer posts →</a>
</li> </li>
{% endif %} {% endif %}