Collections
See the collections section for more information about working with collections.
Data Provider
These fields can be used when creating a collection data provider, see data provider for example usage.
providerThe provider implementation; one ofpages,filesordocument(required)typeThe type of the data source; one ofjsonortoml(required)fromPath to the directory or file to load from (required)excludesList of glob patterns used to exclude pages (optional)
Index
These fields can be used when defining a collections index, see map indices for example usage.
keyDot-delimited path to a property in the source document (required)
The wildcard value * for key will match all documents.
Query
These fields can be used in page queries, see queries for example usage.
nameThe name of the collection (required)indexThe name of the index (required)include-docsWhether to include the collection documents (optional, defaultfalse)sortA key used to sort the query result (optional)descList results in descending order (optional, defaultfalse)limitSet an upper bound for the number of results (optional)parameterName of the parameter to assign to a template (optional, defaultresult)eachGenerate a page for each item in the result list (optional, defaultfalse)