💡 Web projects can be hard. Our solutions specialists can help!

Eleventy (11ty) vs. Jekyll

By CloudCannon · 10 Aug 2021
Eleventy (11ty) vs. Jekyll

Welcome to the static world. Your sites scale easily, load faster and more efficiently, and you and your clients are already seeing the benefits. The Jamstack ecosystem is thriving, with tools and support for static sites growing day by day, and CloudCannon has just launched Eleventy support, alongside Jekyll and Hugo. There’s never been a better time to be a web developer. But we return to the perennial question: which static site generator (SSG) should you choose for your next project?

Here we’ll compare two distinctly different SSGs: Jekyll and Eleventy. They’re both fully compatible with CloudCannon’s Git-based CMS, and both are ideal for marketing sites (such as this one, built with Jekyll), as well as documentation and blogs. But let's compare and contrast, shall we?

What is Jekyll?

Tom Preston-Werner’s “simple, blog-aware” SSG, released in 2008, kicked off the recent web dev trend towards static sites: Jekyll is the basis of GitHub Pages, serving verbatim or Markdown files to visitors, and enabling GitHub users to host their own blogs, documentation, and even books. Written in Ruby by Preston-Werner, Jekyll has since been maintained by Parker Moore, and is currently sitting at version 4.2.0. Nice.

Because Jekyll has been around for so long, there’s a huge amount of documentation, support, plugins and templates available for users. Think about it like this: the existing users have asked the tough questions and largely figured out the edges of the generator so you don’t have to.

Sites made with Jekyll

What is Eleventy?

Eleventy, released in 2018 by Zach Leatherman, is a JavaScript alternative to Jekyll, built for speed and flexibility. Zero-config by default, but incredibly flexible if customization is your thing, Eleventy can build several times faster than an equivalent Jekyll site.

For many developers, part of Eleventy's appeal is that it doesn’t make assumptions about your content. The default hierarchies are logical if you're starting a new project, but you can also bring over your existing project files and directory structures, and just point Eleventy in the right direction.

For those developers who like to flex their fingers from time to time — or who have existing SSG projects written using related template engines — Eleventy supports no fewer than ten templating languages: HTML, Markdown, JavaScript, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, and Pug. Choose your favorite, or use them all side by side.

Sites made with Eleventy

Let’s compare

ComparisonJekyllEleventy
First release20082018
Built withRubyJavaScript
Templating engine(s)LiquidJavaScript, HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pug
PluginsYes, via Ruby GemsYes
GitHub stars43K+9K+
ThemesYesYes (11ty uses the term ‘starter’.)
Open source licenceMITMIT
Installation requirementsRuby must be installed.Via npm
Build speedsFast-adjacent, though growing sites build increasingly slowly.Faster
Multilingual and i18nVia pluginsVia plugins
ShortcodesYesYes
Easy Wordpress et al. converterYes: Jekyll converterNo; you’ll need to convert to Markdown and then clean up with layout templates.
Learning curveGentle, especially if you have Ruby experience.Slightly more gentle, especially if you have JavaScript experience
Documentationjekyllrb.com/docs/11ty.dev
Support communitiesJekyll Talk

Gitter
Eleventy Discord and eleventy-community both have helpful communities.
Twitter accountsJekyll TwitterEleventy Twitter
GitHub reposgithub.com/jekyllgithub.com/11ty/eleventy

Which should I choose?

For experienced developers, the choice likely won’t be as simple as picking sides between Ruby and JavaScript. Beginners will likely find Eleventy a more straightforward proposition, though the historic wealth of documentation and support for Jekyll may well sway those who prefer their paths well-traveled.

Neither Jekyll nor Eleventy is difficult to set up on your local machine, though in any case, CloudCannon makes setting up (and connecting to your chosen Git repo) a single-click proposition.

Choose Jekyll if you want a quick solution to importing existing blogs from legacy dynamic monoliths. For new Jekyll builds you’ll find dates, drafts and sorting posts are ready to use immediately, but as some users have pointed out, Jekyll has a relatively strict structure, meaning it can be more difficult to customize. Jekyll build times might remain a concern for some, particularly with larger sites; you’ll find that as a site grows it will take progressively longer to build.

Choose Eleventy if you’re looking for a future-proofed SSG, where content is decoupled as much as possible from the SSG itself (and is therefore easier to extract, should you need to). Even the templating engines — and remember, you can mix and match between ten, within a single project — are by design as Eleventy-independent as possible. If build times are a big concern, Eleventy is likely to be the SSG for you. Add to that the widest flexibility for templating languages the Jamstack community has seen so far (including Liquid, for those particularly interested in transferring from Jekyll).

Whatever your choice, CloudCannon is here for you. Our Git-based CMS works seamlessly with both Jekyll and Eleventy (as well as Hugo, if Go is more your speed, and more speed is more your thing), letting you empower your content team with robust publishing workflows, and spend more time on the development work you enjoy.

Launch your website today

Give your content team full autonomy on your developer-approved tech stack with CloudCannon.

Get started free!

You might also like: