CanonicalTagHelper Class

CanonicalTagHelper Class

Creates a canonical tag for the current page. Also available as an attribute on the HeadTagHelper.

[HtmlTargetElement("re-canonical")]
public class CanonicalTagHelper: TagHelper

Inheritance  TagHelper CanonicalTagHelper

Constructors

Name Description
CanonicalTagHelper(IRedaktContext) Default constructor. Services are injected by the IoC container.

Methods

Name Description
Process(TagHelperContext, TagHelperOutput)