mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
Adding html5shiv conditionally
--HG-- branch : 1.x
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@using Orchard.UI.Resources;
|
||||
@{
|
||||
RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content("~/modules/orchard.themes/Content/orchard.ico")});
|
||||
Script.Include("html5.js").AtHead();
|
||||
Script.Include("html5.js").UseCondition("lt IE 9").AtHead();
|
||||
|
||||
string title = Convert.ToString(Model.Title);
|
||||
string siteName = Convert.ToString(WorkContext.CurrentSite.SiteName);
|
||||
|
||||
Reference in New Issue
Block a user