Changing html template Orchard uses

Topics: General
Sep 13, 2011 at 10:23 AM


I was wondering if anyone could tell me how I would change the html template that orchard uses as I would like to use the html classes that the new html 5 boiler template uses (
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"<!--<![endif]-->




Sep 13, 2011 at 2:32 PM

This part should be in a Views\Document.cshtml file in your theme. Just copy paste the original one from Orchard.Core\shapes\Views\Document.cshtml, and change it as you want.