diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/views/paginator.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/_includes/views/paginator.html b/_includes/views/paginator.html index 269c20b..0e03df9 100644 --- a/_includes/views/paginator.html +++ b/_includes/views/paginator.html @@ -3,19 +3,23 @@ {% endif %} {% if paginator.posts.size > 0 %} - <div class="pagination"> + <div class="paginator"> + <span class="previous"> {% if paginator.previous_page %} - <a href="{{ paginator.previous_page_path }}">« Prev</a> + <a href="{{ paginator.previous_page_path }}">Prev</a> {% else %} - <span>« Prev</span> + <span>Prev</span> {% endif %} + </span> - <span> {{ paginator.page }}/{{ paginator.total_pages }}</span> + <span class="indicator"> {{ paginator.page }}/{{ paginator.total_pages }}</span> + <span class="next"> {% if paginator.next_page %} - <a href="{{ paginator.next_page_path }}">Next »</a> + <a href="{{ paginator.next_page_path }}">Next</a> {% else %} - <span>Next »</span> + <span>Next</span> {% endif %} + </span> </div> {% endif %} |