aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-18 22:06:20 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-18 22:06:20 +0200
commit9df1451b587b2ab9e5a9e738c141908a7d40e0e1 (patch)
treeac715925c8ebb00234a84aba21aceee99c95cde4
parentpaginator: hide if only 1 page (diff)
downloadjekyll-theme-9df1451b587b2ab9e5a9e738c141908a7d40e0e1.tar.gz
jekyll-theme-9df1451b587b2ab9e5a9e738c141908a7d40e0e1.zip
paginator: add a test post on the second page
-rw-r--r--_config.yml2
-rw-r--r--_posts/2020-01-01-other-page.md8
2 files changed, 9 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index aeaf8ec..c12a5ab 100644
--- a/_config.yml
+++ b/_config.yml
@@ -39,7 +39,7 @@ plugins:
# jekyll-github-metadata
repository: egor-tensin/jekyll-theme
# jekyll-paginate
-paginate: 10
+paginate: 5
paginate_path: '/feed/page:num/'
# Theme settings
diff --git a/_posts/2020-01-01-other-page.md b/_posts/2020-01-01-other-page.md
new file mode 100644
index 0000000..572ee6d
--- /dev/null
+++ b/_posts/2020-01-01-other-page.md
@@ -0,0 +1,8 @@
+---
+title: Other page
+excerpt: >
+ This post shouldn't appear on the first page of the feed.
+---
+{{ page.excerpt }}
+
+It's only here so that I can make sure there's more than one page in the feed.