We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The og:image meta tag should have an absolute url to an image as value. Currently Golden Cobra renders a relative url programmatically.
og:image
The current rendering result for the og:image meta tag is: <meta property="og:image" content="/system/images/ID/FORMAT/FILE">
<meta property="og:image" content="/system/images/ID/FORMAT/FILE">
In this lines the first image of an article is used, if no manual url is given: https://github.com/ikuseiGmbH/Goldencobra/blob/17fdf33f5e94277fed998acc185ff7e4d4871f26/app/models/goldencobra/article_concerns/meta_tag.rb#L39-L44
The rendering result for the og:image meta tag should be: <meta property="og:image" content="http(s)://WEBSITE/system/images/ID/FORMAT/FILE">
<meta property="og:image" content="http(s)://WEBSITE/system/images/ID/FORMAT/FILE">
The text was updated successfully, but these errors were encountered:
acousma82
No branches or pull requests
Description
The
og:image
meta tag should have an absolute url to an image as value.Currently Golden Cobra renders a relative url programmatically.
Steps to reproduce
The current rendering result for the
og:image
meta tag is:<meta property="og:image" content="/system/images/ID/FORMAT/FILE">
Affected code lines if helpful
In this lines the first image of an article is used, if no manual url is given:
https://github.com/ikuseiGmbH/Goldencobra/blob/17fdf33f5e94277fed998acc185ff7e4d4871f26/app/models/goldencobra/article_concerns/meta_tag.rb#L39-L44
Expected results
The rendering result for the
og:image
meta tag should be:<meta property="og:image" content="http(s)://WEBSITE/system/images/ID/FORMAT/FILE">
The text was updated successfully, but these errors were encountered: