Based on HTML5BP with a few improvements that we frequently use.