diff --git a/blog/index.html b/blog/index.html index 8d46de9a..f80499d5 100644 --- a/blog/index.html +++ b/blog/index.html @@ -62,32 +62,31 @@ title: titles.blogbytag {% endfor %} + {% if paginator.total_pages > 1 %} +
+ {% if paginator.previous_page %} + « Prev + {% else %} + « Prev + {% endif %} + + {% for page in (1..paginator.total_pages) %} + {% if page == paginator.page %} + {{ page }} + {% elsif page == 1 %} + {{ page }} + {% else %} + {{ page }} + {% endif %} + {% endfor %} + + {% if paginator.next_page %} + Next » + {% else %} + Next » + {% endif %} +
- {% if paginator.previous_page %} - « Prev - {% else %} - « Prev - {% endif %} - - {% for page in (1..paginator.total_pages) %} - {% if page == paginator.page %} - {{ page }} - {% elsif page == 1 %} - {{ page }} - {% else %} - {{ page }} - {% endif %} - {% endfor %} - - {% if paginator.next_page %} - Next » - {% else %} - Next » - {% endif %} -