Skip to content

feat: separate search snippet for blog posts - #287

Merged
sonpiaz merged 2 commits into
mainfrom
feat/blog-meta-description
Nov 16, 2026
Merged

sonpiaz merged 2 commits into
mainfrom
feat/blog-meta-description

Conversation

@sonpiaz

@sonpiaz sonpiaz commented Nov 16, 2026

Copy link
Copy Markdown
Member

Blog posts get their own search snippet, so a post's meta description can be short without changing the line readers see under its title.

  • metaDescription (optional, at most 160 characters) in the blog schema. When set it feeds the meta description, Open Graph, Twitter and the BlogPosting / HowTo JSON-LD. When absent, everything uses description as before.
  • The line under the H1, the card on /blog and the .md twin keep description, unchanged.
  • 14 comparison and guide posts get a metaDescription of 147 to 160 characters.
  • scripts/check-agent-surface.mjs now checks every prerendered post: exactly one meta description, equal to metaDescription ?? description, and the dek still equal to description.

🤖 Generated with Claude Code

Add an optional metaDescription (max 160) to the blog schema. The meta,
Open Graph, Twitter and JSON-LD descriptions use it; the line under the
H1, the /blog card and the .md twin keep description. Set it on 14 posts
and assert both in the agent-surface check.

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

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
affitor-docs Ready Ready Preview Nov 16, 2026 4:17am UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonpiaz
sonpiaz marked this pull request as ready for review November 16, 2026 18:53
@sonpiaz
sonpiaz merged commit af1e697 into main Nov 16, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — c93b1447 Deployed Nov 16, 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