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 dynamic Open Graph image generation for blog posts #22

Merged
merged 65 commits into from
Oct 7, 2024

Conversation

conradolandia
Copy link
Collaborator

@conradolandia conradolandia commented Sep 27, 2024

I've added a script in scripts/generate-og-images.js to generate OpenGraph PNG images of each post metadata, from an SVG template, using the library sharp. This should generate images in the assets/og folder at build time.

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for spyder-svelte-website-preview ready!

Name Link
🔨 Latest commit a6450a0
🔍 Latest deploy log https://app.netlify.com/sites/spyder-svelte-website-preview/deploys/67044ffcb0646f0008563dfb
😎 Deploy Preview https://deploy-preview-22--spyder-svelte-website-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

…h` script to test if this solves the segmentation fault
@conradolandia conradolandia marked this pull request as ready for review October 5, 2024 02:05
@conradolandia conradolandia requested review from ccordoba12 and CAM-Gerlach and removed request for CAM-Gerlach October 5, 2024 02:05
@ccordoba12 ccordoba12 added the enhancement New feature or request label Oct 7, 2024
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!! Thanks @conradolandia for your hard work on this!

@ccordoba12 ccordoba12 changed the title Dynamic Open Graph image generation for blog posts Add dynamic Open Graph image generation for blog posts Oct 7, 2024
@conradolandia conradolandia merged commit 1463d54 into spyder-ide:main Oct 7, 2024
2 checks passed
@conradolandia conradolandia deleted the og-dynamic-images branch October 7, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants