In this chapter, we took a basic HTML website and converted it to an 11ty site. We learned about the philosophies and terminology that are core to understanding 11ty. We ran 11ty with no configuration, then set 11ty up with a best-practice structure using 11ty’s
eleventy.config.js configuration file. We repurposed our HTML code into reusable layouts and includes for maintainability and reusability.
To take this chapter further, look at how you might break the
include down into smaller, more readable pieces. Maybe abstract out the meta tags into their own
include or move the logo SVG into its own file.
In the next chapter, we’ll take a look at 11ty’s powerful Data Cascade and how to add dynamic or unique data to each
include as well as to our pages and layouts.