Ensure page has metadata field before rendering to header