Clarify pagination file index.html may reside in subdirectory

This commit is contained in:
jaybe@jekyll 2015-02-18 16:16:38 -06:00
parent 17e4c8ab42
commit 3e030ea784
1 changed files with 2 additions and 3 deletions

View File

@ -12,9 +12,8 @@ folders you need for paginated listings.
<div class="note info">
<h5>Pagination only works within HTML files</h5>
<p>
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.
</p>
</div>