Replace references to “templates” with “layouts”