Block library: noSnippet option for sections repeated on every page

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 14:13:37 +01:00
co-authored by Claude Opus 5.5
parent 2a07fb8844
commit 6e6de5d0cc
4 changed files with 20 additions and 3 deletions
+1
View File
@@ -158,6 +158,7 @@ plugin's components. `content` needs `resolveLink`; `getEntries` (entry list), `
| `Image`, `Link` | next/image and next/link |
| `sendForm`, `formClassNames`, `contactDetails` | the contact block: form action, form classes, details beside the form |
| `entryCard`, `mapTestimonial` | how a collection document becomes an entry card / a testimonial (defaults `defaultEntryCard`, `defaultTestimonial`) |
| `noSnippet` | blocks kept out of Google's snippets (`<NoSnippet>`), e.g. `['cta']` when the same call to action is on every page (docs/seo.md) |
| `icons`, `texts`, `lightbox`, `richText` | feature icons by name; visitor texts; `lightbox: false` = plain gallery images; `richText.className` for every rich text |
**UI primitives** (`/blocks/rsc`), each styled once with token utilities: `Section` (anchor, background,