Skip to content

Point link previews at the GitHub avatar and refresh SEO metadata - #15

Merged
celeroncoder merged 2 commits into
masterfrom
t3/update-og-seo-metadata
Nov 29, 2026
Merged

celeroncoder merged 2 commits into
masterfrom
t3/update-og-seo-metadata

Conversation

@celeroncoder

@celeroncoder celeroncoder commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Link previews (WhatsApp etc.) showed no image and the pre-redesign "Full Stack Web Developer based in Jaipur" description. SITE_URL also still pointed at celeroncoder.tech, which no longer resolves, so absolute URLs from metadataBase went to a dead domain.

Changes

  • SITE_URL → https://www.celeroncoder.com. Shared name, image and Twitter handle in lib/site-content.ts.
  • OG/Twitter image is the GitHub avatar, linked straight from avatars.githubusercontent.com so it works on every deployment (a local /avatar.jpg 404'd on production until this ships).
  • No site-wide description anymore: removed from the layout, home page, blog index and the /.md mirror. Posts keep their excerpt as description.
  • Root layout: %s | Khushal Bhardwaj title template, Open Graph + Twitter summary cards.
  • Home, /blog and posts set their own canonical and full OG/Twitter objects (child objects replace the layout's wholesale). Posts are article cards with publish/update times and use the 1200×630 hero crop as summary_large_image when they have a hero image.
  • not-found and missing posts are noindex and no longer inherit the home canonical.
  • /.md home mirror now matches the redesigned home page: name, every post, contact. The unused headline/skills/about/projects data (and the dead link.celeroncoder.tech link) is removed.
  • README/AGENTS domain, AGENTS SEO note, CHANGELOG.

Testing

  • tsc --noEmit passes. pnpm lint couldn't run locally (pnpm build-script approval).
  • Reviewed by a second model; its canonical-leak and hero-crop findings are fixed here.
  • WhatsApp caches previews, so the new card may take a while to show after deploy.

🤖 Generated with Claude Code

WhatsApp and other unfurlers showed no image and the pre-redesign "Full
Stack Web Developer based in Jaipur" description. SITE_URL still pointed
at celeroncoder.tech, which no longer resolves.

- SITE_URL is now https://www.celeroncoder.com; shared name,
  description, image and Twitter handle live in lib/site-content.ts.
- Root layout sets a title template plus Open Graph and Twitter cards
  using the GitHub avatar (public/avatar.jpg). Home, blog index and posts
  set their own canonical URL and full cards; posts are article cards and
  use the 1200x630 hero crop when they have one.
- 404s and missing posts are noindex and no longer inherit the home
  canonical.
- The /.md home mirror now matches the redesigned home page (name,
  description, every post, contact), and the unused headline, skills,
  about and projects data is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
celeroncoder-web Ready Ready Preview Nov 29, 2026 10:04am UTC

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit e6603ef.

The local /avatar.jpg 404s on any deployment that doesn't include this
branch, and link checkers resolve it against production, so previews
showed a blank image. Point og:image and twitter:image at the GitHub
avatar URL instead.

Remove the site-wide description from the layout, home page, blog index
and the /.md home mirror. Posts keep their own excerpt as description.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@celeroncoder
celeroncoder merged commit e3db185 into master Nov 29, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — e6603ef2 Deployed Nov 29, 2026 by vercel[bot]
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.

1 participant