Toolbelt.Blazor.HeadElement icon indicating copy to clipboard operation
Toolbelt.Blazor.HeadElement copied to clipboard

[Feature Request] Options to supply Type, Hreflang, Title and other options in Link Element

Open fingers10 opened this issue 3 years ago • 0 comments
trafficstars

@jsakamoto, Many thanks for the wonderful package. This works awesome solving many problems.

I'm trying <Link> element and I'm not able to specify type="application/xml", hreflang="en", title="some title" for it.

Example,

<Link rel="sitemap" type="application/xml" title="Sitemap" Href="@($"{BaseUrl}sitemap.xml")" />
<Link rel="alternate" type="application/rss+xml" Href="@($"{BaseUrl}atom.xml")" />
<Link rel="alternate" Href="@($"{BaseUrl}blogs/{Slug}/")" hreflang="en" />
<Link rel="alternate" Href="@($"{BaseUrl}blogs/{Slug}/")" hreflang="x-default" />
<Link rel="canonical" Href="@($"{BaseUrl}blogs/{Slug}/")" />
<Link rel="index" title="@Title - Base Title" Href="@($"{BaseUrl}blogs/{Slug}/")" />

This throws script error.

Please can you add an option to supply Type, Title, Hreflang to Link Element?

fingers10 avatar Feb 27 '22 14:02 fingers10