Fix HTML errors

Fixes various HTML errors left over from the conversion to Slim.