example-pagination

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i example-pagination

Weekly Downloads

1

Version

0.1.2

License

none

Last publish

Collaborators

  • doowb
  • jonschlinkert