Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Trying 11ty static-site generator with Bootstrap 5.
Eleventest is a minimal boilerplate for the Eleventy static-site generator that pairs 11ty with Bootstrap 5 to produce fast, dependency-light static websites.
Eleventest is a starter project for building static sites with the Eleventy (11ty) static-site generator. It takes HTML, Markdown, and template files as input and outputs a static site ready to deploy to any web host or CDN. The project runs on Node.js and uses npm for package management. The repository is authored as a personal experiment by a developer exploring 11ty, with the official description simply stating "trying 11ty static-site generator."
@11ty/eleventy package as a dev dependency, enabling static-site generation from templates and Markdown content.[email protected] as a direct dependency, providing a responsive CSS grid, components, and utility classes out of the box.npx @11ty/eleventy --serve or npm start starts a local server that automatically rebuilds the site after every file change.index.html file as the template entry point and a .gitignore file to exclude node_modules and generated output from version control.npm init -y, so all dependencies and scripts are managed through a standard package.json file.index.html maps to the generated output and how to add layouts or partials later.The setup uses two npm commands: npm install @11ty/eleventy --save-dev installs the 11ty generator as a development dependency, and npm install [email protected] --save adds Bootstrap as a runtime dependency. After that, creating an index.html file and running npx @11ty/eleventy --serve triggers Eleventy to process the file into an output directory and start a local server that rebuilds on change.
Yes. Eleventy is open-source software released under the MIT License, and Bootstrap 5 is also open-source under the MIT License. The starter itself is a public repository with no associated fees.
Eleventest outputs a static website consisting of plain HTML, CSS, and JavaScript files. Because there is no server-side runtime, the generated files can be copied to any static file host or content delivery network.
Bootstrap provides prebuilt responsive layout components and an extensive set of utility classes, which speeds up styling when building static pages. Adding it to the project as a direct dependency keeps the CSS framework available in the generated site.
No. The current starter only includes an index.html file. Adding a blog would require creating layout templates and placing Markdown files in an _posts or similar directory, which is a natural next step for learning 11ty's content collections.
