/// <summary>
 ///     Generate all canonical URL parts
 /// </summary>
 /// <param name="html">HTML helper</param>
 /// <param name="part">Canonical URL part</param>
 /// <returns>Generated string</returns>
 public static MvcHtmlString Saturn72CanonicalUrls(this HtmlHelper html, string part = "")
 {
     var pageHeadBuilder = EngineContext.Current.Resolve<IPageHeadBuilder>();
     html.AppendCanonicalUrlParts(part);
     return MvcHtmlString.Create(pageHeadBuilder.GenerateCanonicalUrls());
 }
 public static MvcHtmlString NopCanonicalUrls(this HtmlHelper html, params string[] parts)
 {
     var pageTitleBuilder = EngineContext.Current.Resolve<IPageTitleBuilder>();
     html.AppendCanonicalUrlParts(parts);
     return MvcHtmlString.Create(pageTitleBuilder.GenerateCanonicalUrls());
 }
 public static MvcHtmlString CanonicalUrls(this HtmlHelper html, params string[] parts)
 {
     var layoutPropertyHelper = EngineContext.Current.Resolve<ILayoutPropertyHelper>();
     html.AppendCanonicalUrlParts(parts);
     return MvcHtmlString.Create(layoutPropertyHelper.GenerateCanonicalUrls());
 }