Skip to content

Nothing to see yet, this repo will eventually contain examples and boilerplate code for adding paging and pagination to your projects with Assemble.

License

Notifications You must be signed in to change notification settings

helpers/example-pagination

Repository files navigation

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


Pill style

  • prev and next buttons
  • below content
  • pill style

image


Numbered

  • 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.

About

Nothing to see yet, this repo will eventually contain examples and boilerplate code for adding paging and pagination to your projects with Assemble.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published

Contributors 3

  •  
  •  
  •