From def028f76473b9fa1ff333a5337c0c0c5ca3a3e1 Mon Sep 17 00:00:00 2001 From: Kur0mi Date: Tue, 6 Feb 2024 21:04:47 +0800 Subject: [PATCH] add jekyll-paginate - attempt_6 --- _config.yml | 2 +- _layouts/home.html | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index b25b3db..b17177f 100644 --- a/_config.yml +++ b/_config.yml @@ -62,7 +62,7 @@ feed: # Pagination - https://jekyllrb.com/docs/pagination/ paginate: 10 -paginate_path: /page:num/ +paginate_path: ./page:num/ # Search search_full_content: false diff --git a/_layouts/home.html b/_layouts/home.html index c416878..2ee9284 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,12 +1,11 @@ --- layout: page -paginate: true --- {{ content }}
- - {% include posts-paginated.html %} + {%- endif -%} +