tutorial eleventy
Getting Started with Eleventy
Learn how to set up your first Eleventy project and understand the basics of this powerful static site generator.
by John Doe

Eleventy (or 11ty) is a simpler static site generator. It's zero-config by default but can be customized to fit your needs.
Why Eleventy?
There are many static site generators out there, but Eleventy stands out for several reasons:
- Zero client-side JavaScript by default
- Flexible templating - supports multiple template languages
- Fast build times - builds are measured in milliseconds
- Simple data cascade - easy to understand data flow
Getting Started
First, create a new directory and initialize a Node.js project:
mkdir my-site
cd my-site
npm init -y
npm install @11ty/eleventyYour First Page
Create an index.md file:
# Hello World
Welcome to my site built with Eleventy!Run the build:
npx eleventy --serveThat's it! You now have a working Eleventy site.
Next Steps
- Explore different template languages
- Set up layouts for consistent styling
- Add data files for dynamic content
- Configure collections for blog posts