removing useless category and tag info on non-post pages
cleaning up links, removing trailing slashes