-
Notifications
You must be signed in to change notification settings - Fork 3
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
Generated path are backslashes that prevents OpenGraph images to be displayed #234
Comments
Thanks for your report! What package version are you using? And what operating system are you on? |
i'm using "eleventy-plugin-og-image": "^2.1.1" OS : Windows 11 |
## [2.1.2](v2.1.1...v2.1.2) (2024-03-23) ### Bug Fixes * outputUrl on windows with forward slash ([e1bff34](e1bff34)), closes [#234](#234)
Thanks for your feedback, I currently don't have a windows machine available so I can't test properly. But I've released a fix as version 2.1.2. Could you please upgrade the plugin and give it a try? Let me know, if the bug is fixed! |
🎉 This issue has been resolved in version 2.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.2.0-beta.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
now working thanks to your fix !! thanks you a lot, really cool and useful plugin, I love it, thanks for your reactivity and your good work |
Awesome, glad it's beeing used 👍 . |
I have a very weird bug : generated folder in _site (my output) is made with backslashes (antislash) but it seems that browser can't render OG image if it the path is not made with
/
rather thanantislash
:here is my .eleventy.js plugin config :
my og-image.og.njk is absolute classic and is placed at root (sibling to .eleventy.js, tried putting it in ./src or inner folders but don't change anything) :
here is ./src/_includes/head.html :
here is the log I get when running build or dev :
and on and on....
tried every config option on the plugin but don't do anything...
HTML GENERATED ON BROWSER : the backslashed prevent the OG image to be rendered
ELEVENTY VERSION
2.0.1
The text was updated successfully, but these errors were encountered: