Become a member
to unlock all features

Create egghead account to access 5000+ tutorials and resources from expert developers.

Create account

    Generate Eleventy (11ty) Pages From External Data


    Eleventy (11ty) is able to run any JavaScript or Node functions at build time. This makes it possible to source external data such as from a headless CMS or other API. Learn how to generate pages from data pulled from a mock CMS using the 11ty pagination method and designate the data as an 11ty collection. You'll also learn how to define variables for the page using eleventyComputed, and then write a for loop to output a link to each page.