1. Frameworks
  2. Eleventy


Deploy web sites to Ampt using a simpler static site generator.

Eleventy is a simpler static site generator.

Install Eleventy within an Ampt project folder and add an ampt:dev and ampt:build script to your package.json as follows:

{ "name": "my-11ty-site", "scripts": { "ampt:dev": "eleventy --serve --quiet", "ampt:build": "eleventy", ... } ... }

Configure your .eleventy.js file to use ./static as your output folder:

module.exports = function (config) { return { dir: { input: "_site", data: "_data", includes: "_includes", layouts: "_layouts", output: "./static", }, }; };

The fastest way to get things done in the cloud!