posit-dev / posit-dev/open-source-website

Add default social images

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

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.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.