Skip to content

Better error message when Eleventy tries to paginate a falsy value #756

Closed

Description

@zachleat
---
pagination:
  data: testdata
  size: 2
testdata:
---

outputs this:
image

Activity

  1. changed the title [-]Better error message when Eleventy tries to pagination an empty set[/-] [+]Better error message when Eleventy tries to paginate an empty set[/+] on Nov 1, 2019
  2. changed the title [-]Better error message when Eleventy tries to paginate an empty set[/-] [+]Better error message when Eleventy tries to paginate a falsy value[/+] on May 12, 2022
  3. zachleat commented on May 12, 2022

    @zachleat
    MemberAuthor

    Should show the origin file name, too.

  4. zachleat commented on May 12, 2022

    @zachleat
    MemberAuthor

    2.0.0-canary.11

  5. added this to the Eleventy 2.0.0 milestone on May 12, 2022
  6. added a commit that references this issue on Feb 29, 2024
    b3962fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions