title: Razor view - emitting html outside Doctype tag
body: <p>I am trying to write a module/areas based mvc3 CMS using razor view engine. I have two layout views, _site.cshtml and _modules.cshtml. The _site.cshtml has an @RenderBody() section. My application always calls a view called "index.cshtml" which has its layout set to _site.cshtml page. 
  <strong>The Problem:</strong> The problem is that my modules/areas are rendered before doctype element - and not inside the RenderBody section of layout page. </p>