You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-14Lines changed: 53 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ Build SEO-friendly metadata with a fluent API, full TypeScript support, and fram
23
23
-**Social Media** – Open Graph and Twitter Card meta tags for rich previews.
24
24
-**Mobile Optimization** – Viewport configuration, color schemes, PWA icons.
25
25
-**Advanced Tags** – Alternates, manifests, stylesheets, scripts, and custom meta tags.
26
+
-**Structured Data** – Schema.org JSON-LD support for rich snippets, knowledge graphs, and enhanced SEO.
26
27
-**Simplified URL Management** – Most metadata (Open Graph, canonical, alternates) requires absolute URLs. Set `metadataBase` once and use convenient relative paths everywhere.
27
28
-**Continuously Expanding** – Actively adding more metadata types based on community feedback.
|`addHttpEquiv(httpEquiv: HttpEquivKey, content: string)`| Adds a pragma directive using the `http-equiv` attribute |
405
+
|`addSchemaOrg(valueOrFn: SchemaOrgBuilder \| BuilderOption<SchemaOrgBuilder>)`| Adds Schema.org structured data as JSON-LD |
367
406
368
407
> **💡 Tip:** Most methods support either direct values or callback functions that receive a helper object with `resolveUrl()` for dynamic URL resolution.
0 commit comments