Add support for context via view pages

set content for view pages and set the site_name for view pages as well.