- Namespace:
- Redakt.Web.TagHelpers
- Assembly:
- Redakt.ContentManagement.Web.dll
Creates OpenGraph meta elements for the current page.
[HtmlTargetElement]
public class OpenGraphTagHelper
- Inheritance:
- ObjectTagHelperOpenGraphTagHelper
Constructors
Properties
Title |
The OpenGraph title. Defaults to the page title if not specified.
|
Type |
The OpenGraph type. Defaults to "website" if not specified.
|
Image |
The OpenGraph image. Must be a Media item, IContentType object or string url. No image element is rendered if not specified.
|
Methods