diff --git a/source/_partials/post-pager.html.twig b/source/_partials/post-pager.html.twig new file mode 100644 index 00000000..0ee96174 --- /dev/null +++ b/source/_partials/post-pager.html.twig @@ -0,0 +1,41 @@ +
+ +
diff --git a/source/blog.html b/source/blog.html index 4588ed2b..a34fe41f 100644 --- a/source/blog.html +++ b/source/blog.html @@ -36,19 +36,5 @@ use: [posts] {% endfor %} - {% if page.pagination.previous_page or page.pagination.next_page %} - - {% endif %} + {% include 'post-pager.html.twig' %} {% endblock %}