From 58662946cd7622c57097caa2f2c1ea7367d944d8 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 30 Mar 2016 21:54:49 -0400 Subject: [PATCH] Only show post pagination if there are previous or next posts --- _includes/post_pagination.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/_includes/post_pagination.html b/_includes/post_pagination.html index a8d223bd..c364e60a 100644 --- a/_includes/post_pagination.html +++ b/_includes/post_pagination.html @@ -1,12 +1,14 @@ - \ No newline at end of file +{% if page.previous or page.next %} + +{% endif %} \ No newline at end of file