aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/jekyll-theme/posts/paginator.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/jekyll-theme/posts/paginator.html b/_includes/jekyll-theme/posts/paginator.html
index 257a307..597e2c6 100644
--- a/_includes/jekyll-theme/posts/paginator.html
+++ b/_includes/jekyll-theme/posts/paginator.html
@@ -3,7 +3,7 @@
https://jekyllrb.com/docs/pagination/.
{% endcomment %}
-{% if site.posts.size != 0 %}
+{% if paginator.total_pages > 1 %}
{% capture prev %}<span class="glyphicon glyphicon-chevron-left"></span>{% endcapture %}
{% capture next %}<span class="glyphicon glyphicon-chevron-right"></span>{% endcapture %}