Conversation
Contributor
|
@copilot this should happen automatically for every new blog |
Agent-Logs-Url: https://github.com/evaleval/evaleval.github.io/sessions/ce2be539-adf7-44e9-85aa-631cfc5f990a Co-authored-by: evijit <3848733+evijit@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Open Graph metadata for blog post sharing
Fix broken og:image URLs in blog post Open Graph metadata
Mar 30, 2026
…posts Agent-Logs-Url: https://github.com/evaleval/evaleval.github.io/sessions/c7a43c9a-0ea4-4674-9ef7-a0444a346166 Co-authored-by: evijit <3848733+evijit@users.noreply.github.com>
Contributor
Author
Done in commit
This also fixes the |
Copilot
AI
changed the title
Fix broken og:image URLs in blog post Open Graph metadata
Fix Open Graph image metadata for blog post social sharing thumbnails
Mar 30, 2026
Agent-Logs-Url: https://github.com/evaleval/evaleval.github.io/sessions/8f3ee47c-7896-4d59-81b8-cb2a891191c7 Co-authored-by: evijit <3848733+evijit@users.noreply.github.com>
Copilot
AI
changed the title
Fix Open Graph image metadata for blog post social sharing thumbnails
Auto-convert SVG post images to PNG for social thumbnails
Mar 30, 2026
Copilot
AI
changed the title
Auto-convert SVG post images to PNG for social thumbnails
Auto-convert SVG post images to PNG for social thumbnails; support all raster formats
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Social crawlers reject SVGs for
og:image. Blog posts using.svgas theirimage:front matter produced broken/missing social preview thumbnails.Changes
_includes/head.html— strips the old SVG-exclusion guard; for SVG images swaps.svg→.pngin the og/twitter meta tags only, leavingpage.image(and thus page display) untouched. WebP/PNG/JPG pass through unchanged.{% if _page_ext == 'svg' %} {% assign _og_img = page.image | replace: '.svg', '.png' | absolute_url %} {% else %} {% assign _og_img = page.image | absolute_url %} {% endif %}.github/workflows/convert-svg-images.yml— triggers on pushes touching_posts/orassets/img/blogs/; scans every post'simage:front matter, converts any referenced SVG to a 1200×630 PNG sibling viarsvg-convert, and commits it back with[skip ci]. No front matter edits — the SVG stays as-is.assets/img/blogs/field-notes-interview.png— pre-committed PNG for the one existing SVG post so the thumbnail resolves immediately without waiting for CI.Original prompt
This pull request was created from Copilot chat.
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.