Public websites should be light-weight, HTML compliant and standards-based to ensure maximum browser and device support. Achieving this using SharePoint is not possible without some serious tweaking.
I have used many techniques in the past to accomplish this, for example control delegates and control adapters. I have written “catch all” HTML filter modules that recognizes and removes any SharePoint publishing scripts. The problem with all of these techniques is that they are heavy and difficult to maintain. This time, I chose a light-weight version.
For a full background, see http://blog.lekman.com/2013/12/creating-clean-compliant-html-in.html