refactor post and header, rearrange links