Supplied Data

  • Supplied Data

    pkg: The local project’s package.json values. pagination: Using the pagination key in front matter, this divides data into chunks for multiple output pages. Read more about Pagination. collections: Lists of all of your content, grouped by tags. Read more about Collections page: Has information about the current page (see the code block below for page contents). For example, page.url is useful for finding the current page in a collection. Read more about Collections (look at Example: Navigation Links with an active class added for on the current page). eleventy: Added in v1.0.0 contains Eleventy-specific data from environment variables and the Serverless plugin (if used).

Templates

Shortcodes