- {% renderFile "./src/_includes/syntax-chooser-tablist.11ty.js", {id: "paged-array"} %}
-
-
- {%- highlight "liquid" %}
- {%- include "snippets/pagination/paged-array.njk" %}
- {%- endhighlight %}
-
-If the above file were named `paged.liquid`, it would create two pages in your output folder: `_site/paged/index.html` and `_site/paged/1/index.html`. These output paths are configurable with `permalink` (see below).
-
-
-
-
- {%- highlight "jinja2" %}
- {%- include "snippets/pagination/paged-array.njk" %}
- {%- endhighlight %}
-
-If the above file were named `paged.njk`, it would create two pages in your output folder: `_site/paged/index.html` and `_site/paged/1/index.html`. These output paths are configurable with `permalink` (see below).
+- `data`: The name of the data set to iterate and generate the pages. The data set can be an Array or an Object.
+- `size`: Sets the number of elements available on each iteration through `data`.
+- `alias`: A variable name to identify the current element on each iteration of `data` items. Similar to the variable in a `for...in` loop. [Read more about Pagination alias](#aliasing-to-a-different-variable).
+- `generatePageOnEmptyData`: Set to `true` to generate a page when `data` is empty. [Read more about Generating an Empty Results Page](#generating-an-empty-results-page).
+- `resolve`: {% addedin "0.4.0" %} Set to `values` to iterate over an Object values instead of its keys.
+- `filter`: {% addedin "0.4.0" %} A list of items to be excluded while iterating `data`.
+- `reverse`: {% addedin "0.7.0" %} Set to `true` to reverse the order of the items in `data`.
+- `addAllPagesToCollections`: {% addedin "0.8.0" %} Set to `true` to add all the generated pages to collections when using the `tags` key. [Read more about adding all pages to collections](#add-all-pagination-pages-to-collections).
-
-
-
- {%- highlight "js" %}
- {%- include "snippets/pagination/paged-array.js" %}
- {%- endhighlight %}
-
-If the above file were named `paged.11ty.js`, it would create two pages in your output folder: `_site/paged/index.html` and `_site/paged/1/index.html`. These output paths are configurable with `permalink` (see below).
-
-
-
-
- {%- highlight "js" %}
- {%- include "snippets/pagination/paged-array.cjs" %}
- {%- endhighlight %}
-
-If the above file were named `paged.11ty.js`, it would create two pages in your output folder: `_site/paged/index.html` and `_site/paged/1/index.html`. These output paths are configurable with `permalink` (see below).
-
-
-
-