From 0fd4b2c00fb44470f1a9166810827b11a58c20fa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 25 Jun 2017 07:15:49 +0300 Subject: fix post pagination links * Use custom paginate_path in _includes/common/pagination.html. --- _config.yml | 2 +- _includes/common/pagination.html | 23 ++++++++--------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/_config.yml b/_config.yml index ba8f884..322901e 100644 --- a/_config.yml +++ b/_config.yml @@ -12,7 +12,7 @@ exclude: - posts/ paginate: 10 -paginate_path: "posts/page:num/" +paginate_path: "/posts/page:num/" include_comments: true minified_externals: true diff --git a/_includes/common/pagination.html b/_includes/common/pagination.html index aa2f034..55cb690 100644 --- a/_includes/common/pagination.html +++ b/_includes/common/pagination.html @@ -1,28 +1,21 @@ {% if site.posts.size != 0 %}