
11ty starter site with example code and how-tos.
11ty-starter is a static site example that utilizes Eleventy as a comprehensive build system for HTML, CSS, JavaScript, and image optimization. It showcases various features of Eleventy and provides a solid foundation for developing static websites.
To enable development mode on Linux/macOS, set the ELEVENTY_ENV environment variable to "development":
export ELEVENTY_ENV=development
On Windows cmd:
SET ELEVENTY_ENV=development
Or on Windows PowerShell:
$env:ELEVENTY_ENV = "development"
Launch the Eleventy build process and server by running the following command:
npx eleventy --serve
Navigate to http://localhost:8080 in your browser to access the development build.
To enable production mode on Linux/macOS, set the ELEVENTY_ENV environment variable to "production":
export ELEVENTY_ENV=production
On Windows cmd:
SET ELEVENTY_ENV=production
Or on Windows PowerShell:
$env:ELEVENTY_ENV = "production"
Run the Eleventy build process by executing the following command:
npx eleventy
The generated files in the build folder can be uploaded to any web host for deployment.
11ty-starter is an example static site that demonstrates the capabilities of Eleventy as a powerful build system for creating static websites. Its features include markdown content management, custom templates, article post management, navigation menu generation, and various optimization options for HTML, CSS, and images. With easy installation and production-ready builds, it provides a solid foundation for developing static sites efficiently.

11ty is a static site generator that allows developers to build fast, modern websites using HTML, Markdown, and other templating languages, without the need for a complex build system.
A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.
PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.
RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.