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

[HtmlTargetElement]
public class CanonicalTagHelper
Inheritance:
ObjectTagHelperCanonicalTagHelper

Constructors

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

Methods

Process(TagHelperContext, TagHelperOutput)