Adds Redakt features to the head element.

[HtmlTargetElement]
public class HeadTagHelper
Inheritance:
ObjectTagHelperHeadTagHelper

Constructors

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

Properties

Canonical Indicates whether to automatically add a canonical tag to the head. Also available as a separate CanonicalTagHelper.

Methods

Process(TagHelperContext, TagHelperOutput)