templated all pages