Several HTML fixes

We noticed there was a bad merge somewhere and a few of the HTML elements took a hit. We've also re-added the class back in for the H1 on the permalink page.