Toolbelt.Blazor.HeadElement
Toolbelt.Blazor.HeadElement copied to clipboard
[Feature Request] Options to supply Type, Hreflang, Title and other options in Link Element
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?