init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
@model MvcSiteMapProvider.Web.Html.Models.CanonicalHelperModel
|
||||
@using System.Web.Mvc.Html
|
||||
@using MvcSiteMapProvider.Web.Html.Models
|
||||
|
||||
@if (Model.CurrentNode != null && !string.IsNullOrWhiteSpace(Model.CurrentNode.CanonicalUrl)) {
|
||||
<link rel="canonical" href="@Model.CurrentNode.CanonicalUrl" />
|
||||
}
|
||||
Reference in New Issue
Block a user