11ty / 11ty-website

Documentation site for the Eleventy static site generator.
https://www.11ty.dev/
MIT License
467 stars 677 forks source link

docs: add pagination JavaScript examples #1669

Closed w0whitaker closed 4 months ago

w0whitaker commented 4 months ago

This PR includes some of the JavaScript examples that are missing from the docs.

  1. Paging an Object
  2. Paginate a global or local data file
  3. Aliasing to a different variable
  4. Paging a Collection
Snapstromegon commented 4 months ago

Thanks a lot @w0whitaker I just did some minor touch ups and now I think this is good to go! By the way, I just checked and it seems like formatting is a problem in this repo right now, so I created #1670, so thanks for bringing this issue up with your first PR attempt. You did everything right there and the problem is, that this repo is right now formatted as configured.