Trim and prettify data. Fix single-page.