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

Add Meta Element without overwriting the existing one #23

Open
markus-renezeder opened this issue Oct 6, 2021 · 1 comment
Open

Add Meta Element without overwriting the existing one #23

markus-renezeder opened this issue Oct 6, 2021 · 1 comment

Comments

@markus-renezeder
Copy link

In some cases it would be nice to add the same meta tag multiple times eg the og:image

In my case: I want to display more images or create a carousel if the link is shared on facebook. For this it is necessary to add the same tag multiple times.

BR Markus

@jsakamoto
Copy link
Owner

Thank you for your proposal.
I'll consider how to implement it.

But unfortunately, it will not be easy because of the architecture of this library.
So it will take a long time until implemented the multiple "og:image" feature.

By the way, .NET 6 now supports the <HeadContent> component.

See also: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-7/#modify-html-head-content-from-blazor-components

If you can chose .NET 6 platform, please consider to use the <HeadContent> component for the multiple "og:image".

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

2 participants