Skip to navigation Skip to main content

Configure your Templates

There are a few special data keys you can assign in your data to control how templates behave. These can live anywhere in the Data Cascade except as computed data. The only special key you can define in computed data is permalink.

Advanced

  • eleventyImport
    • eleventyImport.collections: Added in v2.0.0 An Array of collection names used to inform template dependencies for incremental builds and to render templates in the correct order. Read more on the collections documentation.
  • dynamicPermalink: Option to disable template syntax for the permalink key. Read more about disabling dynamic permalinks.
  • permalinkBypassOutputDir: Write a file to somewhere other than the output directory. Read more about bypassing the output directory

Other pages in Eleventy Projects