template splitted in base and layout