added static urls and template stuff for none RESTful site pages