diff --git a/_includes/head.html b/_includes/head.html index e83e04d..b8d8844 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -19,7 +19,7 @@ {%endif%} - + diff --git a/_layouts/default.html b/_layouts/default.html index 9d3ba7a..b508d70 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -31,33 +31,31 @@ - {% if paginator.total_pages > 1 %} -
+ {% if paginator.previous_page %} + Prev + {% endif %} + + {% for page in (1..paginator.total_pages) %} + {% assign total = paginator.total_pages %} + + + {% if page == paginator.page %} + {{ page }} of {{total}} + + + + {% endif %} + {% endfor %} + + {% if paginator.next_page %} + Next + {% endif %} +