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

extension adds prefix="og: http://ogp.me/ns#" #30

Open
magic-77 opened this issue Nov 18, 2024 · 2 comments
Open

extension adds prefix="og: http://ogp.me/ns#" #30

magic-77 opened this issue Nov 18, 2024 · 2 comments

Comments

@magic-77
Copy link

Hi,
First of all, thanks for the extension, which works quite well so far.
I use Contao 5.3 but the attributes for OpenGraph do not seem to be correct, because the following is generated:

<meta prefix="og: http://ogp.me/ns#" property="og:type" content="website" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://local.2agenten.com/files/assets/images/2-agenten-neu-klein-1.png">
<meta prefix="og: http://ogp.me/ns#" property="og:image:type" content="image/png">
<meta prefix="og: http://ogp.me/ns#" property="og:image:width" content="371">
<meta prefix="og: http://ogp.me/ns#" property="og:image:height" content="600">
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="https://local.2agenten.com/">
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="Webseite von 2 agenten - agentur für illustration. 2 Agenten mit Sitz in Berlin.">
<meta prefix="og: http://ogp.me/ns#" property="og:site_name" content="2agenten">
@frontendschlampe
Copy link
Member

Hey, thank you for information, but can you tell us, what's not correct.

@magic-77
Copy link
Author

Hi @frontendschlampe, there is no need to prefix og: related meta definitions itself as og is named as a predefined prefix in https://www.w3.org/2011/rdfa-context/rdfa-1.1.html

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

3 participants
@frontendschlampe @magic-77 and others