add page info array to config, use info in head and page template