Jump to content

Eleventy (software)

From Wikipedia, the free encyclopedia
Eleventy
Other names11ty
Developer(s)Zach Leatherman
Initial releaseDecember 20, 2017; 6 years ago (2017-12-20)[1]
Stable release
3.0.0[2] / 1 October 2024; 54 days ago (1 October 2024)
Repository
Written inJavaScript
Operating systemCross-platform
PlatformWeb
TypeBlog publishing system
LicenseMIT License
Websitewww.11ty.dev Edit this at Wikidata

Eleventy (abbreviated 11ty) is a static site generator, a software system for creating websites. It is open source software written in JavaScript. 11ty is noted for its simplicity, and for its support of a large number of template languages. Paired with other technologies, 11ty can be used as part of a Jamstack.

11ty was created in 2017 by Zach Leatherman. It was inspired by Jekyll.

Purpose

[edit]

Like all static site generators, the purpose of Eleventy is to allow the user to create HTML documents more simply than by typing out the documents by hand. This is of particular value for multi-page static websites, which require making the same change to many HTML documents.

Eleventy uses a "static first" design philosophy, meaning that it specializes in creating HTML documents that do not need to be refreshed or updated each time they are viewed by a web browser. Although Eleventy may be configured to run on web servers at request time — creating dynamic web pages — this is not its primary purpose.[3]: 2 

History

[edit]

Eleventy was created by Zach Leatherman, a web developer in Omaha, Nebraska, in 2017. Leatherman was inspired by Jekyll, which is written in the Ruby language, to create a similar system in the JavaScript language.[3]: 2  Leatherman says he derived the name "Eleventy" from a story told to him, by his grandmother, about his own childhood mispronunciation of the number eleven.[4]

Among the users of 11ty is the US federal government via Cloud.gov and the US Web Design System.[5]

11ty is distributed under the MIT License. Version 3.0.0 of 11ty was released in October, 2024.[6]

Features

[edit]

11ty comes with more than 10 templating engines. These may be used separately or together, giving 11ty flexibility to combine content from several sources or authors.[3]: 2  Template languages supported include Markdown, Liquid, Nunjucks and HAML.[7]: 17 

No front-end JavaScript framework is assumed by 11ty; it is "frontend agnostic."[3]: 3  By combining 11ty with a JavaScript framework performing API integration, developers may form a Jamstack application.[7]: 15–40 

Eleventy includes a local web server for use during development, activated with the --serve flag. It "hot-reloads" upon file changes, updating the web browser as the developer works.[8]

References

[edit]
  1. ^ "Release v0.1.0 · 11ty/eleventy". GitHub. Retrieved 16 October 2024.
  2. ^ "Eleventy v3.0.0: Possums ❤️ ESM". 1 October 2024. Retrieved 16 October 2024.
  3. ^ a b c d Robinson, Bryan (2023). Eleventy by Example: Create Powerful, Performant Websites with a Static-first Strategy. Packt Publishing. ISBN 9781804618622.
  4. ^ Leatherman, Zach (November 26, 2018). "Happy Birthday Eleventy!". ZachLeat.com.
  5. ^ "Site Templates". Cloud.gov.
  6. ^ "Eleventy v3.0.0". GitHub.
  7. ^ a b Camden, Raymond; Rinaldi, Brian (2022). The Jamstack Book: Beyond Static Sites with JavaScript, APIs, and Markup. Manning. ISBN 9781617298882. OCLC 1319833583.
  8. ^ Eckles, Stephanie (March 24, 2021). "A Deep Dive Into Eleventy Static Site Generator". Smashing Magazine.