FOSDEM 2021
by André Jaenisch on 6th February 2021
jaenis.ch/hobbies/speaking/fosdem2021-javascript-eleventy/
Eleventy is a simpler static site generator. by André Jaenisch is licensed under Attribution 4.0 International
Think of a static site generator as a script which takes in data, content and templates, processes them, and outputs a folder full of all the resultant pages and assets.
Flexibility
Betting on JavaScript
Not a JavaScript framework
Mix and match template engines.
Define input and output.
Or use it as one-off script.
Source: Modulecounts
Eleventy is almost fascinatingly simple.
– Chris Coyier
Eleventy is a killer static site generator. That’s all.
– Sara Soueidan
Jekyll is dead to me
– Andy Bell
Blogs
Conference pages
Conference events
Easy to get started!
npx eleventy
Full power of NPM ecosystem
Plugins (filter, shortcodes, transforms)
Authoring in Markdown (mainly)
Support for different template languages
HTML, Markdown, JavaScript, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pug
Collections
There is a default collection built from tags
.
But you also have different ways to define your own.
Data Directory files!
You can pull in async data using this feature
Pagination
Can be used to create pages from data
Voting for issues to determine implementation order
Lodash-style issue management might be a cure
Basically close most issues and use a GitHub issue filter.
Turn Jekyll up to Eleventy by Paul Lloyd
Cloudinary Fetch with Eleventy (Respecting Local Development) by Chris Coyier
Give your Eleventy Site Superpowers with Environment Variables by Andy Bell
Architecting data in Eleventy by Sia Karamalegos
Rich Link Previews in Eleventy by Jens-Fabian Goetzmann
Smashing Podcast Episode 28 With David Darnes: What Is Eleventy?
Build An Eleventy (11ty) Site From Scratch
Let’s Learn Eleventy! (with Zach Leatherman) — Learn With Jason
Screenshot of Eleventy logo - MIT licensed
Avatar of Zach Leatherman - MIT licensed
Picture of Bilbo's birthday party taken from J.R.R. Tolkien's The Lord of the Rings Vol. I
Flickr: short tailed opossum by Mark Dumont ( CC BY-NC )
Flickr: possum by Tires 8 ( CC BY-NC )
Flickr: Opossum by Florida Fish and Wildlife ( CC BY-ND )
Flickr: Opossum by Dandelion Salad ( CC BY-NC-ND )
Flickr: opossum by Alexander Plushev ( CC BY )
Flickr: possum with babies crossing street - Lynchburg, Virginia by Kipp Teague ( CC BY-NC-ND )
Flickr: knit opossum by normanack ( CC BY )
Flickr: baby opossums by Kathy ( CC BY )
Thanks for listening!