Use shared base layout in templates