From the course: Learning GitHub Pages
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Eleventy static sites - GitHub Tutorial
From the course: Learning GitHub Pages
Eleventy static sites
- I'm going to show you 11ty, which is a library for publishing sites that's a lot easier to set up than Jekyll if you want more control over your static sites. Now, the first big advantage to 11ty is that it's based on Node.js versus Ruby, so it's more common for developers to understand how to use. It's also a zero config framework by default and that means that you don't need to configure it, but it does have a full set of options if you need them. Now, the other cool thing is that it is very flexible in terms of the languages and templating libraries that it works with. It understands Liquid, which has Jekyll's templating engine, but also Nunjucks, Handlebars, regular JavaScript and more. If you want to learn more about Liquid, make sure you check out this website. You can see that Liquid is used by Jekyll and supported by some of these other companies and it was originally created by Shopify. If you want to learn…
Contents
-
-
-
-
-
-
-
(Locked)
Eleventy static sites3m 41s
-
(Locked)
Build a project3m 50s
-
(Locked)
Set up a config file3m 54s
-
(Locked)
Add passthrough content3m 46s
-
(Locked)
Create Nunjucks templates6m 12s
-
(Locked)
Include repetitive content5m 40s
-
(Locked)
Expand Eleventy with plugins6m 44s
-
(Locked)
Publish your site8m 10s
-
(Locked)
-