Added note to highlight common pitfall/misconception regarding Pagination's capabilities.

This commit is contained in:
Dave Cranwell 2013-03-12 15:21:56 +00:00
parent 4e794a73e0
commit a6f3c4f1cd
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ paginate: 5
The number should be the maximum number of posts youd like to be displayed per-page in the generated site.
<div class="note info">
<h5>Pagination does not support tags or categories</h5>
<p>Pagination pages through every post in the <code>posts</code> variable regardless of variables defined in the YAML Front Matter of each. It does not currently allow paging over groups of posts linked by a common tag or category.</p>
</div>
## Render the paginated posts
The next thing you need to do is to actually display your posts in a list using the `paginator` variable that will now be available to you. Youll probably want to do this in one of the main pages of your site. Heres one example of a simple way of rendering paginated posts in a HTML file: