Skip to content

refactor: rename ogDescription to imageDescription frontmatter field#448

Merged
brendanjryan merged 1 commit intomainfrom
fix/rename-og-description
Mar 24, 2026
Merged

refactor: rename ogDescription to imageDescription frontmatter field#448
brendanjryan merged 1 commit intomainfrom
fix/rename-og-description

Conversation

@brendanjryan
Copy link
Collaborator

Changes

Rename ogDescriptionimageDescription in MDX frontmatter for clarity: this field controls the text rendered inside OG images, distinct from description which Vocs uses for HTML meta tags.

  • 46 MDX pages: renamed frontmatter field
  • scripts/generate-og-descriptions.ts: updated regex
  • src/pages/_api/api/og.tsx: renamed import variable

Split from #447.

More specific naming: 'imageDescription' clarifies this field controls the
text rendered inside OG images, distinct from 'description' which Vocs
uses for HTML meta tags.
@vercel
Copy link

vercel bot commented Mar 24, 2026

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

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Mar 24, 2026 3:06pm

Request Review

@brendanjryan brendanjryan merged commit 6b8ef1f into main Mar 24, 2026
8 checks passed
@brendanjryan brendanjryan deleted the fix/rename-og-description branch March 24, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants