From 25acc85024e592e226794f3ef8accdb2b4f74a4d Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 23 May 2015 11:05:47 +0200 Subject: [PATCH] Use a paginate path compatible with the old dennogumi.org And change more hardcoded nonsense... --- _config.yml | 2 +- _includes/pagination.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index f6a4693..c8424ef 100644 --- a/_config.yml +++ b/_config.yml @@ -46,7 +46,7 @@ paginate: 7 # Pagination path › Important for blog page in /blog/ to work -paginate_path: "/page:num" +paginate_path: "/page/:num" # Blog root: keep a slash here blog_root: / diff --git a/_includes/pagination.html b/_includes/pagination.html index 5bd726e..6f0ef45 100644 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -27,14 +27,14 @@ {% if paginator.previous_page == 1 %} « {{ site.data.language.previous_posts }} {% else %} - « {{ site.data.language.previous }} + « {{ site.data.language.previous }} {% endif %} {% endif %} {{ site.data.language.blog_archive }} {% if paginator.next_page %} - {{ site.data.language.next }} » + {{ site.data.language.next }} » {% endif %}