changed Page.page_name to Page.slug