Jump to content

Eleventy (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jno.skinner (talk | contribs) at 01:12, 17 October 2024 (Remove reference to Node.js). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 a part of the Jamstack.

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

Purpose

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.[1]: 2 

History

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.[1]: 2  11ty is distributed under the MIT License.

Among the users of 11ty are Google's web.dev project[2] and Cloud.gov.[3]

Version 3.0.0 of 11ty was released in October, 2024.[4]

Features

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.[1]: 2  Template languages supported include Markdown, Liquid, Nunjucks and HAML.[5]: 17 

No front-end JavaScript framework is assumed by 11ty; it is "frontend agnostic."[1]: 3  By combining 11ty with a JavaScript framework performing API integration, developers may form a Jamstack application.[5]: 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.[2]

References

  1. ^ a b c d Robinson, Bryan (2023). Eleventy by Example: Create Powerful, Performant Websites with a Static-first Strategy. Packt Publishing. ISBN 9781804618622.
  2. ^ a b Eckles, Stephanie (March 24, 2021). "A Deep Dive Into Eleventy Static Site Generator". Smashing Magazine.
  3. ^ "Site Templates". Cloud.gov.
  4. ^ "Eleventy v3.0.0". GitHub.
  5. ^ a b Camden, Raymond; Rinaldi, Brian (2022). The Jamstack Book: Beyond Static Sites with JavaScript, APIs, and Markup. Manning. ISBN 9781617298882. OCLC 1319833583.