Skip to content

Commit

Permalink
Merge pull request johno#311 from publitcity/patch-1
Browse files Browse the repository at this point in the history
Only show pagination if ...
  • Loading branch information
johno authored Jan 16, 2017
2 parents 3316a55 + 09d83c7 commit 271eed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% if paginator.total_pages != 1 %}
<div class="pagination clearfix mb1 mt4">
<div class="left">
{% if paginator.previous_page %}
Expand All @@ -19,3 +20,4 @@
</div>
<div class="pagination-meta">Page {{ paginator.page }} of {{ paginator.total_pages }}</div>
</div>
{% endif %}

0 comments on commit 271eed0

Please sign in to comment.