Welcome to Eleventy Serverless

I am Local Data

I am a Template Data File

I am Global Data

I am an included template.

new Date()

2023-05-04T20:44:19.492Z

page Data:

{
  "date": "2023-05-04T20:43:57.040Z",
  "inputPath": "./src/sample-nunjucks.njk",
  "fileSlug": "sample-nunjucks",
  "filePathStem": "/sample-nunjucks",
  "outputFileExtension": "html",
  "templateSyntax": "njk",
  "url": "/",
  "outputPath": "_site/index.html"
}

eleventy Data:

{
  "version": "2.0.1",
  "generator": "Eleventy v2.0.1",
  "env": {
    "source": "cli",
    "runMode": "build",
    "config": "/opt/build/repo/eleventy.config.js",
    "root": "/opt/build/repo",
    "isServerless": false
  }
}

collections

Read more about collections in serverless.

./src/sample-nunjucks.njk Node.js fs stats
{
  "dev": 66305,
  "mode": 33188,
  "nlink": 1,
  "uid": 2500,
  "gid": 0,
  "rdev": 0,
  "blksize": 4096,
  "ino": 307263650,
  "size": 1480,
  "blocks": 8,
  "atimeMs": 1683233037040.689,
  "mtimeMs": 1683233037040.689,
  "ctimeMs": 1683233037056.6887,
  "birthtimeMs": 1683233037040.689,
  "atime": "2023-05-04T20:43:57.041Z",
  "mtime": "2023-05-04T20:43:57.041Z",
  "ctime": "2023-05-04T20:43:57.057Z",
  "birthtime": "2023-05-04T20:43:57.041Z"
}