Add social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages#842
Open
richarddushime wants to merge 2 commits into
Open
Add social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages#842richarddushime wants to merge 2 commits into
richarddushime wants to merge 2 commits into
Conversation
… Open Science, and Contributor Analyses Wires up sharing_image_resource for existing unused images already sitting in each page's content bundle, instead of falling back to the generic FORRT banner for social media link previews. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
|
Contributor
✅ Spell Check PassedNo spelling issues found when checking 10 changed file(s)! 🎉 |
Contributor
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-07-22 18:42:45 UTC The staging site shows the combined state of all compatible open PRs. |
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.
Description
Several FORRT pages had unused images already sitting in their content bundles (page graphics, charts, logos) but were falling back to the generic FORRT banner for social media link previews, since nothing pointed the sharing-image logic at them.
Wired up the existing
sharing_image_resourcefront-matter field (added in #696/#720) to use each page's own image instead:/impact/→impacts-map.webp(world map of contributors)/awop/→AWOP.webp(Academic Wheel of Privilege diagram)/teaching_os/→PostEdu1.webp(POST-Edu program banner)Each also gets a
sharing_image_altfor accessibility/screen readers.No new images were created — this only wires up existing files that were already in each page's bundle.
Fixes #701
Type of Change
Testing
Checklist
Notes
the rest of the pages that :
No image asset exists at all (would need a new graphic to be created):
/disciplines/ — the new "Open Research Across Disciplines"