Fixing breaking change in Document.cshtml

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-09-19 13:49:43 -07:00
parent f1192cb372
commit 311041025a

View File

@@ -4,8 +4,8 @@
RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content("~/modules/orchard.themes/Content/orchard.ico")});
Script.Include("html5.js").AtHead();
string title = Model.Title;
string siteName = WorkContext.CurrentSite.SiteName;
string title = Convert.ToString(Model.Title);
string siteName = Convert.ToString(WorkContext.CurrentSite.SiteName);
}
<!DOCTYPE html>
<html lang="en" class="static @Html.ClassForPage()">