Various fixes

Fixed a few things, mostly around error pages:

* Removed related div
* Swap section for main tag
* Rename :content yield