From 013f7edc833cf59af21644f6a1ea799d61f70d86 Mon Sep 17 00:00:00 2001 From: Cory Simmons Date: Fri, 6 Mar 2015 01:17:02 -0500 Subject: [PATCH] Add permalink warning to pagination docs Fixes https://github.com/jekyll/jekyll-paginate/issues/25 --- site/_docs/pagination.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/_docs/pagination.md b/site/_docs/pagination.md index 9352827e..71403d2a 100644 --- a/site/_docs/pagination.md +++ b/site/_docs/pagination.md @@ -42,6 +42,13 @@ starting with `2`. If a site has 12 posts and specifies `paginate: 5`, Jekyll wi `blog/index.html` with the first 5 posts, `blog/page2/index.html` with the next 5 posts and `blog/page3/index.html` with the last 2 posts into the destination directory. +
+
Don't set a permalink
+

+ Setting a permalink in the front matter of your blog page will cause pagination to break. Just omit the permalink. +

+
+ ## Liquid Attributes Available The pagination plugin exposes the `paginator` liquid object with the following