惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
T
Tor Project blog
T
Troy Hunt's Blog
C
CERT Recently Published Vulnerability Notes
C
Cisco Blogs
W
WeLiveSecurity
Cloudbric
Cloudbric
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
爱范儿
爱范儿
Google Online Security Blog
Google Online Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
F
Full Disclosure
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
I
Intezer
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
腾讯CDC
L
LangChain Blog
L
LINUX DO - 热门话题
H
Help Net Security
S
Schneier on Security
N
Netflix TechBlog - Medium
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Spread Privacy
Spread Privacy
S
Secure Thoughts
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
P
Privacy & Cybersecurity Law Blog
Cyberwarzone
Cyberwarzone
A
About on SuperTechFans
NISL@THU
NISL@THU
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
Recorded Future
Recorded Future
雷峰网
雷峰网
AWS News Blog
AWS News Blog
V2EX - 技术
V2EX - 技术

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Introducing: Sanity Agent Skills | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity Sanity Studio v5: Embracing React 19 | Sanity You’ll need a CMS eventually. Let your agent set it up. | Sanity “You should never build a CMS” | Sanity AI Content Operations: A 30-Day Implementation Guide | Sanity What’s New December - 2025 | Sanity Scheduled Drafts: Stop manually publishing content at midnight | Sanity What’s New November - 2025 | Sanity Everything *[NYC] 2025 recap: A day of AI, Content Operations, and Culture | Sanity Clankers and content operations | Sanity Content Agent: AI that understands your structured content is here | Sanity Why design-driven content modeling creates technical debt, not velocity | Sanity What's New October - 2025 | Sanity From studio to inbox: How Kevin Green eliminated email campaign friction | Sanity The content editor's guide to content operations [E-commerce edition] | Sanity styled-components maintenance mode: A 40% faster fork | Sanity From zero code to a live website in 7 hours (thanks, Cursor!) | Sanity First attempt will be 95% garbage: A staff engineer's 6-week journey with Claude Code | Sanity Internationalization is more than translating words | Sanity What's New - September 2025 | Sanity We just deleted our 35k-member community Slack | Sanity What's New - August 2025 | Sanity The engineer's guide to content operations [E-commerce edition] | Sanity SEO for AI: Evolving from Web Pages to the Content Lake | Sanity What's New - July 2025 | Sanity Sanity Studio v4: A major version bump for a minor reason | Sanity What's New - June 2025 | Sanity Dashboard and Insights: Your New Content HQ | Sanity Canvas: AI-accelerated, context-aware, freeform authoring | Sanity Agent Actions: AI building blocks for structured content | Sanity Functions: Life beyond pressing publish | Sanity A new era for content applications with Sanity App SDK | Sanity The end of CMS era and our $85M Series C. | Sanity What's New – May 2025 | Sanity Introducing the Sanity Model Context Protocol (MCP) server | Sanity What's New – April 2025 | Sanity Pushing all the envelopes with ambitious content | Sanity Self-hosting is only free if your time is worth nothing | Sanity Content that lasts: Scaling beyond your frontend | Sanity The Live Content API is now Generally Available | Sanity The future beyond AI chat bots | Sanity Learning the new skill of working with AI | Sanity What's New - March 2025 | Sanity Give it in plain text: Making your content AI-Ready | Sanity No More 'DO NOT PUBLISH': Introducing Content Releases | Sanity React in 2025, what's next? | Sanity The final boss of front-end: block editors | Sanity Introducing Sanity for Startups | Sanity A block content editor that loves you back | Sanity A Black Friday Snooze Fest: Massive Traffic, No Drama | Sanity How to make a recipe site that scales well | Sanity The Sanity Winter Release 2024 | Sanity AVIF Arrives, Sanity’s Promise Fulfilled | Sanity Sanity joins the Open Source Pledge | Sanity Your content is now Live by default | Sanity Begin Team to Join Sanity | Sanity Sanity Digest - September '24 Edition | Sanity Sanity partners with Google. Now live on the Google Cloud Marketplace. | Sanity Sanity Digest - August ‘24 Edition | Sanity Now playing: the latest Mux Video Input plugin for Sanity | Sanity Community Digest - June ‘24 Edition | Sanity Community Digest - May ‘24 Edition | Sanity Guide to Sanity's newest product announcements | Sanity AI and Content Creation: A Leader's Guide | Sanity Of course, you should be able to type your content quickly! | Sanity New to AI Assist: translation, reference suggestions, image generation | Sanity Speak the language of your editors: Sanity Studio UI localization | Sanity Introducing the new Sanity Growth plan to serve collaborative teams | Sanity Presentation: Work faster than ever with structured content | Sanity Goodbye Feedback Frenzy, Hello Sanity Studio Comments! | Sanity Easing into the App Router with the Sanity Toolkit for Next.js | Sanity
The Content Operating System for the AI era | Sanity.io
Desai Hardik · 2025-09-23 · via Sanity.io

sanity-plugin-seofields — the complete SEO toolkit for Sanity Studio

sanity-plugin-seofields

The complete SEO toolkit for Sanity Studio.

Manage SEO fields, social previews, robots directives, canonical URLs, Schema.org JSON-LD, and studio-wide SEO health checks — directly inside Sanity Studio v3, v4, or v5.

npm version npm downloads license GitHub stars Sanity TypeScript

Documentation  •  Quick Start  •  Configuration  •  Schema.org  •  CLI


Why This Plugin

Most Sanity SEO plugins stop at title and description fields. sanity-plugin-seofields gives editors and developers a full SEO workflow — from per-document fields all the way to studio-wide audits.

FeatureWhat you get
Structured SEO fieldsComplete field group for every document
Live SERP previewSee the Google result while editing
Open Graph + X/TwitterFull social card controls
Robots + canonicalIndexing directives and canonical URLs
Custom meta tagsReusable metaTag / metaAttribute types
Schema.org JSON-LD39 types for structured data
Next.js helpersMetadata and script rendering
SEO Health DashboardAudit documents across the whole studio
CLISetup, reports, and exports

Use it as a simple field plugin, a structured data system, or a complete SEO operations layer for your Sanity projects.


Table of Contents

  • Features
  • Installation
  • Quick Start
  • Registered Schema Types
  • Configuration
  • SEO Health Dashboard
  • Schema.org Structured Data
  • Next.js & React Exports
  • CLI
  • Package Exports
  • Compatibility
  • Contributing
  • License

Features

Studio SEO Fields
  • seoFields object type for a complete SEO field group
  • Meta title, meta description, keywords, canonical URL, and meta image fields
  • Open Graph title, description, image, URL, type, and site name
  • X/Twitter Card title, description, image, site, creator, and card type
  • Robots controls for noindex, nofollow, noarchive, nosnippet, and related directives
  • Custom meta tags through reusable metaTag and metaAttribute types
  • Configurable field labels, descriptions, groups, visibility, and per-document behavior
  • Optional live SEO preview inside the Studio field UI
SEO Health Dashboard
  • Studio tool for scanning SEO coverage across documents
  • 0–100 scoring per document
  • Missing title, description, image, canonical, robots, and social metadata checks
  • Document-type filters
  • Query customization
  • Optional custom scoring logic
  • CSV and JSON export
  • Direct links back to documents that need work
  • Demo mode for docs, previews, and onboarding
Schema.org / JSON-LD
  • 39 Schema.org types as Sanity object schemas
  • Combined Schema.org array field for flexible content modeling
  • Individual schema plugins when you only need specific types
  • Type picker UI for editors
  • React components that render <script type="application/ld+json">
  • buildXJsonLd() helpers for server-side rendering and custom frameworks
  • Shared primitives for people, organizations, images, ratings, offers, and language fields
Frontend Helpers
  • buildSeoMeta() for Next.js App Router generateMetadata()
  • <SeoMetaTags /> for framework-agnostic React rendering
  • Schema.org React components for Next.js and other React frameworks
  • Image URL resolver hooks for Sanity asset pipelines
  • Sanitizers for Open Graph type and Twitter Card values
CLI
  • Guided setup command
  • Project checks and doctor-style diagnostics
  • SEO data reports
  • JSON and CSV export for audits, backups, and client review
  • Config support via defineSeoCli()

Installation

Peer dependencies:


Quick Start

1. Register the Plugin

2. Add SEO Fields to a Document

The seoFields type is registered automatically by the plugin.

Full guide: Frontend integration


Registered Schema Types

TypePurpose
seoFieldsComplete SEO field bundle for document schemas
openGraphOpen Graph metadata for Facebook, LinkedIn, Slack, and other social surfaces
twitterX/Twitter Card metadata
robotsIndexing and crawling directives
metaTagCustom meta tag container
metaAttributeSingle custom meta attribute

Configuration

OptionDescription
seoPreviewEnable or disable the live preview shown inside SEO fields
fieldOverridesCustomize field titles, descriptions, validation, and field metadata
defaultHiddenFieldsHide specific SEO fields globally
fieldVisibilityHide specific SEO fields for specific document types
fieldGroupsCustomize how fields are grouped in the seoFields object
apiVersionSanity API version used by plugin clients
dashboardEnable and configure the SEO Health Dashboard tool

Full reference: Configuration docs


SEO Health Dashboard

The dashboard is a Studio tool that helps teams find SEO gaps before they ship content.

Dashboard capabilities:

  • Audit all configured document types
  • View SEO score, status, and missing fields
  • Filter documents by score and document type
  • Export reports as CSV or JSON
  • Open the exact document that needs updates
  • Customize document title, subtitle, and preview display

Get a dashboard license: Get license

Dashboard docs: SEO Health Dashboard


Schema.org Structured Data

Register all Schema.org types
Register only the types you need
Add Schema.org fields to a document
Render JSON-LD on the frontend

Render individual types:

Available Schema.org types (39)

AggregateRating · Article · BlogPosting · Book · Brand · BreadcrumbList · ContactPoint · Country · Course · Event · FAQPage · HowTo · ImageObject · ItemList · JobPosting · LegalService · LocalBusiness · Movie · MusicAlbum · MusicRecording · NewsArticle · Offer · OpinionNewsArticle · Organization · Person · Place · PostalAddress · Product · ProfilePage · Recipe · Restaurant · Review · Service · SocialMediaPosting · SoftwareApplication · VideoObject · WebApplication · WebPage · Website

Schema.org docs: Structured data guide


Next.js & React Exports

Common usage:

  • Use buildSeoMeta() in Next.js App Router generateMetadata()
  • Use <SeoMetaTags /> in React layouts or frameworks where you control the <head>
  • Use SchemaOrgScripts or individual schema components for JSON-LD
  • Pass an imageUrlResolver when your Sanity image data needs URL building

Docs: Frontend integration


CLI

Run the CLI:

Useful commands:

CLI docs: CLI guide


Package Exports

Import pathUse
sanity-plugin-seofieldsStudio plugin, base schema types, dashboard pane factory, shared types
sanity-plugin-seofields/nextSEO metadata helpers and Schema.org React components
sanity-plugin-seofields/schemaSchema.org Sanity schema plugins and type exports
sanity-plugin-seofields/schema/nextSchema.org React JSON-LD components
sanity-plugin-seofields/define-cliCLI configuration helper

Compatibility

RuntimeSupported
Node.js>=18
Sanity Studio^3, ^4, ^5
React^18, ^19
Module formatESM and CommonJS builds
TypeScriptType definitions included

Contributing

Issues and pull requests are welcome.

If the plugin helps your project, consider leaving a star on the GitHub repo, a review on the docs site, or a rating in the Sanity Plugin Directory.


License

MIT © Hardik Desai