Skip to content

Commit 903fa5b

Browse files
committed
update readme
1 parent a5aba5b commit 903fa5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ The sitemap object is made up of the following:
211211
optionsMapPerDocumentType = Object|Object<Function>,
212212
defaultEntryOption = Object,
213213
staticPaths = Array<Object>,
214+
pagination = {
215+
pageSize: Number,
216+
},
214217
documentTypes = Array,
215218
sitemapConfig = Object
216219
}
@@ -228,6 +231,7 @@ The sitemap object is made up of the following:
228231
|documentTypes|array|`['homepage', 'page', 'pricing', 'legal']`||
229232
|defaultEntryOption|object (optional)| `{ changefreq: "monthly", priority: 1, }`| This is the default to add when nothing exists for the type or callback for entries|
230233
|staticPaths|array|`[{ url: '/static/path', changefreq: "yearly", priority: 1, lastmod: '2000-01-01'}]`| Use this if you would like to define a custom path for the Sitemap that doesn't come from the CMS |
234+
|pagination.pageSize|number|`{pagination: {pageSize: 30}}`|This sets the number of pages per request on the automatic pagination. Defaults to 20 per request|
231235
|sitemapConfig|object|| see [https://github.com/ekalinin/sitemap.js#options-you-can-pass](https://github.com/ekalinin/sitemap.js#options-you-can-pass)|
232236

233237

0 commit comments

Comments
 (0)