Skip to main content

ContentContext

Overview

ContentContext provides metadata to retrieve specific content or customize content queries. This context is commonly used in CMS integrations to fetch localized or contextualized content.

Attributes

href

type: string (optional)

The URL of the current context.

handle

type: string (optional)

A cross-vendor identifier for content. This is often used as the slug for content pages.

config

type: string (optional)

Configuration identifier for the context.

locale

type: string (optional)

Locale for the content, used to fetch localized versions of the content.

id

type: string (optional)

Unique identifier for the content.