Move <main> and .sidebar markup out of PHP and into LESS

It's always bothered me that (1) these PHP functions add markup and (2) that they specifically add *Bootstrap* markup to HTML elements.

Why not move them into LESS?
again pls switch tabs to spaces on this file. take a look at http://editorconfig.org/ and see if you can find a plugin for whichever editor you use