From 3e030ea78485bd35573736d5de2c13646ba52d32 Mon Sep 17 00:00:00 2001 From: "jaybe@jekyll" Date: Wed, 18 Feb 2015 16:16:38 -0600 Subject: [PATCH] Clarify pagination file index.html may reside in subdirectory --- site/_docs/pagination.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site/_docs/pagination.md b/site/_docs/pagination.md index c1b5b6c3..9cd2fcff 100644 --- a/site/_docs/pagination.md +++ b/site/_docs/pagination.md @@ -12,9 +12,8 @@ folders you need for paginated listings.
Pagination only works within HTML files

- Pagination does not work from within Markdown or Textile files in your Jekyll site. - It will only work when called from within HTML files; and at this time, only index.html. - For example, if you wanted a paginated list of Posts, you would do so from within the HTML file, index.html. + Pagination does not work from within Markdown or Textile files from your Jekyll site. + Pagination works when called from within the HTML file, named `index.html`, which optionally may reside in and produce pagination from within a subdirectory, via the `pagination_path` _config.yml configuration value.