posit-dev / posit-dev/open-source-website
Add default social images
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 55
- Forks
- 24
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 17
Description
Set site-wide default
Non-blog pages (software, people, events, etc.) have no OG/Twitter image when shared unless they explicitly set images: in frontmatter. This results in link previews without images on social platforms. We need to create an image, and make sure it's the default site wide.
Update blog default
static/images/blog-placeholder.svg is the fallback for social for blog posts. We should make it blog specific, e.g. "Posit's open source blog", and pretty.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how frontmatter images are resolved for blog and non-blog pages, then inspect static/images/blog-placeholder.svg and the site's default metadata handling. Create a site-wide social image, update the blog placeholder to be blog-specific, and verify that both page categories produce the intended social previews.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100