unify handling of pagemeta for pages and content