Pagination examples for Assemble.


Examples for adding pagination to your Assemble projects.

Do one of the following:

  • [download][download] this project,
  • git clone https://github.com/assemble/example-pagination.git
  • bower install example-pagination

After you download the project, in the command line:

  • run npm install to install of the project's dependencies.
  • run grunt to build the project.

If you have any problems, please let us know.

  • "prev" and "next" buttons
  • above content
  • "justified" style

  • "prev" and "next" buttons
  • below content
  • pill style

  • "prev" and "next" buttons
  • pill style
  • numbered
  • option to limit numbers, e.g: {{paginate pagination limit="5"}}

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Jon Schlinkert

Brian Woodward

Copyright (c) 2013 Jon Schlinkert, Brian Woodward, community. Released under the MIT license.