Add a base template as layout