Pagination updates

This commit is contained in:
Michael Rose 2017-03-09 15:48:54 -05:00
parent 3190be1e5e
commit 7c8f22f73e
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ layout: default
<div> <div>
<header class="section-title"> <header class="section-title">
<h2>Posts</h2> <h2>Posts{% if paginator.page > 1 %}{{ paginator.page | prepend: ' - Page '}}{{ paginator.total_pages | prepend: ' of ' }}{% endif %}</h2>
</header> </header>
<div class="entries"> <div class="entries">
{% if site.gems contains 'jekyll-paginate' and page.paginate %} {% if site.gems contains 'jekyll-paginate' and page.paginate %}

View File

@ -41,7 +41,7 @@ feed:
path: atom.xml path: atom.xml
# Pagination - https://jekyllrb.com/docs/pagination/ # Pagination - https://jekyllrb.com/docs/pagination/
paginate: 5 paginate: 10
paginate_path: /page:num/ paginate_path: /page:num/
# Link to specific internal pages in the navigation. # Link to specific internal pages in the navigation.