Adds keys for pages to context, shortens page.name