Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fingers10 opened this issue Feb 27, 2022 · 0 comments

Comments

@fingers10
Copy link

fingers10 commented Feb 27, 2022

@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 fingers10 changed the title [Feature Request] Options to supply Type in Link Element [Feature Request] Options to supply Type and other options in Link Element Feb 27, 2022
@fingers10 fingers10 changed the title [Feature Request] Options to supply Type and other options in Link Element [Feature Request] Options to supply Type, Hreflang, Title and other options in Link Element Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant