Skip to main content

BlogPostMeta

Function BlogPostMeta 

Source
pub fn BlogPostMeta(_: BlogPostMetaProps) -> Element
Expand description

Injects Open Graph / SEO meta tags and document title for a single blog post.

Reads auto_meta and site_url from BlogContext. When auto_meta is off, emits nothing. Otherwise emits title/description, Open Graph, Twitter Card, article metadata, and schema.org Article JSON-LD from frontmatter. Canonical, og:url, and the JSON-LD @id are only emitted when site_url is also set.

ยงProps

For details, see the props struct definition.