add formatting to home and posts pages