https://w3things.com/blog/eleventy-layouts-and-templates/
Check out this awesome article on "Eleventy Layout and Template Files: A Complete Guide" by W3Things.