Nucleus .Net Core CMS

HtmlHelpers.PrivacyHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a link to the site's privacy page.


Privacy (IHtmlHelper,String,Object) Method

Privacy (IHtmlHelper htmlHelper, String caption, Object htmlAttributes)
Returns an anchor (a) element which links to the site's Privacy page.
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
caption String

The inner text of the anchor element.

htmlAttributes Object
If the site does not have a configured privacy page, nothing is rendered.