example-pagination

Pagination examples for Assemble.

npm install example-pagination
8 downloads in the last month

example-pagination NPM version

Examples for adding pagination to your Assemble projects.

Getting started

Download the project

Do one of the following:

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

Build

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.

Examples

Basic pager

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

image

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

image

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

image

image

Contributing

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

Authors

Jon Schlinkert

Brian Woodward

License

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

npm loves you