Skip to content

Add social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages#842

Open
richarddushime wants to merge 2 commits into
mainfrom
sharing-images
Open

Add social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages#842
richarddushime wants to merge 2 commits into
mainfrom
sharing-images

Conversation

@richarddushime

@richarddushime richarddushime commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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_resource front-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)
  • /nowherelab/, /just_os_chatbot/, /citation-politics/, and /adopting/. also covered using the existing images

Each also gets a sharing_image_alt for 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

  • Content/documentation update

Testing

Checklist

  • Self-reviewed my changes
  • Verified links and formatting are correct
  • No new warnings or errors

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"

… 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>
@richarddushime
richarddushime requested a review from a team as a code owner July 22, 2026 17:04
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

⚠️ Image files/references in png/jpg format detected

Note that we generally rely on webp format for this webpage, so please consider converting these images to WebP format and updating references accordingly.

References to image files:

  • content/contributor-analysis/index.md: treemap-plot-1.png
  • content/contributor-analysis/index.md: projects-plot-1.png
  • content/contributor-analysis/index.md: treemap-plot-1.png
  • content/contributor-analysis/index.md: roles-plot-1.png
  • content/nowherelab/_index.md: img/nowherelab-logo.png

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 10 changed file(s)! 🎉

@LukasWallrich

LukasWallrich commented Jul 22, 2026

Copy link
Copy Markdown
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
Staging URL: https://staging.forrt.org

The staging site shows the combined state of all compatible open PRs.

@richarddushime richarddushime changed the title Add distinct social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages Add social sharing preview images for Impact, AWoP, Teaching Open Science, and Contributor Analyses pages Jul 22, 2026
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

Successfully merging this pull request may close these issues.

Social Media link sharing preview image

2 participants