base and home templates