A starter project for building completely static websites with Contensis and 11ty.
Required: Git, Node >18, NPM.
git clone https://github.com/tbreeze-zengenti/contensis-11ty-starter.git my-project
cd my-project
npm i
A local development server with hot-reloading is available at http://localhost:8080/. To access it run:
npm run dev
To configure the project for your Contensis environment a .env file is provided. This will define a suitable client config for working with the Contensis JS Delivery API.
As an alternative to the JS Delivery API an Axios example is provided within the _data
folder.
A Dockerfile is included for deploying the application to Contensis's Blocks infrastructure.