CARVIEW |
Select Language
HTTP/2 200
access-control-allow-origin: *
age: 0
cache-control: public, max-age=0, must-revalidate
content-disposition: inline; filename="data"
content-encoding: gzip
content-type: text/html; charset=utf-8
date: Sat, 11 Oct 2025 01:49:32 GMT
etag: W/"c77f6306037d2af41b8ec5dc98d2da8f"
last-modified: Sat, 11 Oct 2025 01:49:32 GMT
server: Vercel
strict-transport-security: max-age=63072000
x-vercel-cache: HIT
x-vercel-id: bom1::7576x-1760147372692-05594e48b4f7
Using Data — Eleventy
- Stable
3.1.2
- Canary
4.0.0-alpha.4
- Guide
Guide
- Plugins
- Services
Using Data
Data can be used on a template from multiple different sources.
- Configure your Templates: Set data to configure how your template behaves in Eleventy.
- Eleventy Supplied Data: Use data that Eleventy provides to you.
- Set your own data anywhere in the Data Cascade to render in your templates.
Sources of Data
When the data is merged in the Eleventy Data Cascade, the order of priority for sources of data is (from highest priority to lowest):
- Computed Data
- Front Matter Data in a Template
- Template Data Files
- Directory Data Files (and ascending Parent Directories)
- Front Matter Data in Layouts (this moved in 1.0)
- Configuration API Global Data
- Global Data Files