diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-18 22:06:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-18 22:06:20 +0200 |
commit | 9df1451b587b2ab9e5a9e738c141908a7d40e0e1 (patch) | |
tree | ac715925c8ebb00234a84aba21aceee99c95cde4 | |
parent | paginator: hide if only 1 page (diff) | |
download | jekyll-theme-9df1451b587b2ab9e5a9e738c141908a7d40e0e1.tar.gz jekyll-theme-9df1451b587b2ab9e5a9e738c141908a7d40e0e1.zip |
paginator: add a test post on the second page
Diffstat (limited to '')
-rw-r--r-- | _config.yml | 2 | ||||
-rw-r--r-- | _posts/2020-01-01-other-page.md | 8 |
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. |