illustration for Build An Eleventy (11ty) Site From Scratch

Build An Eleventy (11ty) Site From Scratch

19m closed-captioning
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.5
166
people completed
Bookmark
Download
RSS

Start from a blank project and build up to an Eleventy site that includes a blog collection and is prepared to source content from a headless CMS. You'll also learn how to add Sass as the styling solution, complete with triggering 11ty to re-compile when the Sass changes.

These lessons will help explain key 11ty features and concepts to help you make the most of this amazing static site generator.

By the last lesson, you'll have learned how to:

  • define custom input and output directories
  • create a layout that accesses front matter variables
  • watch for Sass changes and include CSS in the build proces
  • create an 11ty collection using tags
  • define front matter for an entire collection
  • make and apply a filter to a collection
  • generate pages from an external data source, such as a CMS or API

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

Learner Reviews

  • James Anderton
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great course, but needs to be updated as some additional steps no longer required.

  • Hugh McKenna
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Just the right amount of info to get going. Easy to scan the video at first, then write the code and a nice summary at the end to check everything.

  • Sven
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Very clear, with an essential takeway. Excellent diction too, which helps when you don't have english as your first language. The course also is essential in its content which is good and frustrating :) Very good work!

  • Davida Gaffney
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this collection a 7 for you?

    A little bit longer time spent on code view so I could follow along better. I had to stop and start and rewind a bunch. Not a huuuuge deal though. Very cool set of tutorials!

  • Victor
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this collection a 7 for you?

    Excellent collection of videos. The only problem I see is that there is over-use of nanjucks templating logic within the markdown pages, instead of employing partials and/or individual layout templates (which I believe would be more standard in SSG's) thereby offering more separation of content and logic. Of course, this may be a question of taste, since the use of nunjucks logic inside a markdown file offers a very flexible "mdx" kind of approach and does show off eleventy's remarkable flexibility. I did love the simplicity of the lessons, however. A huge amount covered in a short space.

  • James Hall
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Quick and very informative, and provides a great entry to 11ty. Thanks.

Course Content

19m • 5 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers

    Introduction to Cloudflare Workers

    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout

    Create an eCommerce Store with Next.js and Stripe Checkout

    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use

    Practical Git for Everyday Professional Use

    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.