page and base templates complete