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

og:image images troubles? #13

Open
bronze opened this issue Sep 17, 2023 · 1 comment
Open

og:image images troubles? #13

bronze opened this issue Sep 17, 2023 · 1 comment

Comments

@bronze
Copy link

bronze commented Sep 17, 2023

Hi

Did you have any troubles with the og:images?
They weren't working for me at first. Then i tried setting up passthroughCopy but vite seems to delete them on production?

Did that happen to you?

thx

@KiwiKilian
Copy link
Contributor

Eleventy needs to emit the og:images into the public dir in your output, (probably ./_site/public/). Everything from public will be copied to the root by Vite and the public dir itself will be deleted.

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