Refactor to allow projects to override layout template parts