++base template for pages