no longer overwriting the page variable in all templates