Content and blog

Pages, policies, articles, blog listings, and blog categories.

These pages list the exact data fields available to hosted Vascula themes. Add a root name such as product to a section's ctx_needs, then read it directly as product.title in the template. The ctx. prefix shown here identifies the public contract; do not include that prefix in a Vascula expression. Required fields are present whenever their containing object is present. Optional fields may be absent, and nullable fields may be present as null. [] marks an array item and {key} marks a key selected at runtime. Named types such as Price and Media are detailed on Shared data shapes.

ctx.page#

The routed published content page. A slug that opens no published page in the shopper's language (a draft, a deleted page, another language's slug) answers with the theme's 404 page once the store's redirects are checked. A page setting resolves to this same shape. Available on Page routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.page

Object

Declared root

ctx.page.content

HTML

Required

The body as HTML (sanitized when saved), in the shopper's language when translated.

ctx.page.created_at

String

Required

When it was created, as a date and time in the shopper's language, the way the country they shop from writes dates, with the time zone named (such as "5 Dec 2026, 9:12 pm IST"); UTC for guests, the store's time for signed-in customers.

ctx.page.created_at_iso

Timestamp

Required

created_at as RFC 3339 with its offset, for

ctx.page.id

String

Required

ctx.page.metafields

Metafields

Optional

The page's storefront-visible metafields, read when a template first uses them.

ctx.page.noindex

Boolean

Required

True when the merchant hid the page from search engines (the platform then sends noindex). The page still opens for shoppers.

ctx.page.seo_description

String or null

Required; may be null

The SEO description in the shopper's language; null when none is set.

ctx.page.seo_title

String or null

Required; may be null

The SEO title in the shopper's language; null when none is set.

ctx.page.slug

String

Required

The slug in the shopper's language: its translated slug when one is set, else its own. Slugs are strict per language: in a language with a translated slug only that slug opens it, and its own slug opens it only in languages without one.

ctx.page.social_image

Media or null

Required; may be null

The page's own social sharing image as media (url, alt_text, width, height; media_type image), or null when it has none; the store's share image is then used, then its logo.

ctx.page.template_handle

String or null

Required; may be null

The page template the merchant assigned to this page (the template page.), or null for the default page template. A page whose assigned template is not in the theme renders with the default page template.

ctx.page.title

String

Required

The title in the shopper's language: its translation when set, else as the merchant wrote it. Every text field falls back like this on its own.

ctx.page.updated_at

String

Required

When it last changed, formatted like created_at; use it for a "Last updated" line.

ctx.page.updated_at_iso

Timestamp

Required

updated_at as RFC 3339 with its offset, for

ctx.page.url

URL

Required

The item's address in the shopper's language and country path.

ctx.pages#

Route-free index of published content pages for navigation surfaces: the first 100 by title, and whether there are more. Loaded when a section declares it in ctx_needs.

Field

Type

Requirement

Description

ctx.pages

Object

Declared root

ctx.pages.has_more

Boolean

Required

True when the store has more published pages than items holds. Link a page outside the list with a page setting or a menu.

ctx.pages.items

Array of content index

Required

Published pages (id, title, slug and url in the shopper's language, metafields read when a template uses them), sorted by title in the shopper's language, then id: at most 100. Drafts are left out.

ctx.collections#

Route-free index of the store's active collections for any page (story rows, collection walls, footer lists): the first 50 by name, and whether there are more. Loaded when a section declares it in ctx_needs.

Field

Type

Requirement

Description

ctx.collections

Object

Declared root

ctx.collections.has_more

Boolean

Required

True when the store has more active collections than items holds. Link the rest with routes.collections_url or a menu.

ctx.collections.items

Array of entity

Required

Active collections (id, name, slug, url, description, image, product_count, metafields) in the shopper's language, sorted by name, then id, the same order as the collection list page: at most 50. product_count and metafields are read only when a template uses them, for every listed collection at once. Show fewer with a limit (for item in ctx.collections.items limit: 6).

ctx.policy#

The routed store policy. A policy is shown when it is published and has readable text in the shopper's language (its translated content when set, else its own): text left after removing markup and whitespace, so an empty paragraph does not count. A policy that is not shown is left out of policies, menus, policy settings and the checkout footer, and its page is the theme's 404 page. A slug that opens no shown policy answers with the theme's 404 page once the store's redirects are checked. A policy setting stores the policy's type (privacy, terms, ...), which every store shares, and resolves to this same shape. Available on Policy routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.policy

Object

Declared root

ctx.policy.content

HTML

Required

The body as HTML (sanitized when saved), in the shopper's language when translated.

ctx.policy.created_at

String

Required

When it was created, as a date and time in the shopper's language, the way the country they shop from writes dates, with the time zone named (such as "5 Dec 2026, 9:12 pm IST"); UTC for guests, the store's time for signed-in customers.

ctx.policy.created_at_iso

Timestamp

Required

created_at as RFC 3339 with its offset, for

ctx.policy.id

String

Required

ctx.policy.noindex

Boolean

Required

True when the merchant hid the policy from search engines (the platform then sends noindex and leaves it out of the sitemap). The policy still opens for shoppers.

ctx.policy.seo_description

String or null

Required; may be null

The SEO description in the shopper's language; null when none is set.

ctx.policy.seo_title

String or null

Required; may be null

The SEO title in the shopper's language; null when none is set.

ctx.policy.slug

String

Required

The slug in the shopper's language: its translated slug when one is set, else its own. Slugs are strict per language: in a language with a translated slug only that slug opens it, and its own slug opens it only in languages without one.

ctx.policy.social_image

Media or null

Required; may be null

The policy's own social sharing image as media (url, alt_text, width, height; media_type image), or null when it has none and the store's share image is used.

ctx.policy.title

String

Required

The title in the shopper's language: its translation when set, else as the merchant wrote it. Every text field falls back like this on its own.

ctx.policy.type

String

Required

The policy's fixed type (such as privacy, terms or refund): the same in every store, unlike its id and slug.

ctx.policy.updated_at

String

Required

When it last changed, formatted like created_at; use it for a "Last updated" line.

ctx.policy.updated_at_iso

Timestamp

Required

updated_at as RFC 3339 with its offset, for

ctx.policy.url

URL

Required

The item's address in the shopper's language and country path.

ctx.policies#

Route-free index of the store's shown policies for legal navigation, in the fixed policy order Store Admin uses. A policy is shown when it is published and has readable text in the shopper's language (its translated content when set, else its own): text left after removing markup and whitespace, so an empty paragraph does not count. A policy that is not shown is left out of policies, menus, policy settings and the checkout footer, and its page is the theme's 404 page. Loaded when a section declares it in ctx_needs.

Field

Type

Requirement

Description

ctx.policies

Array of object

Declared root

ctx.policies[].content

HTML

Required

The policy's body as HTML in the shopper's language. Read only when a template first uses it, for every policy at once, so a footer that only links stays cheap. To show one policy's text anywhere, pick it by type: ctx.policies | where: "type", "refund" | first.

ctx.policies[].id

String

Required

ctx.policies[].slug

String

Required

ctx.policies[].title

String

Required

ctx.policies[].type

String

Required

The policy's fixed type (such as privacy, terms or refund): the same in every store, unlike its id and slug.

ctx.policies[].url

URL

Required

ctx.blog_post#

The routed blog post with its author, categories, tags, comments and comment paging. A slug that opens no published post in the shopper's language answers with the theme's 404 page once the store's redirects are checked. A blog post setting resolves to the same post fields (without content and comments). Only published posts are shown and counted (scheduled posts appear when they publish). Each text field reads its translation in the shopper's language when one is set and not empty, else the item's own value. Available on Blog routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.blog_post

Object

Declared root

ctx.blog_post.author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog_post.author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog_post.author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog_post.author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_post.author.id

String

Required

ctx.blog_post.author.name

String

Required

ctx.blog_post.author.slug

String

Required

ctx.blog_post.author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog_post.author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog_post.categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog_post.categories[].id

String

Required

ctx.blog_post.categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.categories[].name

String

Required

ctx.blog_post.categories[].slug

String

Required

ctx.blog_post.categories[].url

URL

Required

ctx.blog_post.comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog_post.comment_submission_id

String

Required

ctx.blog_post.comments

Array of object

Required

This page of approved comments, oldest first. The page size is the theme's: the comments_page_size range setting of the first section on the template that reads blog_post (1 to 100; the platform's comment page size when no section declares it), which merchants change in the theme editor. Empty while comments are turned off.

ctx.blog_post.comments[].author_name

String

Required

ctx.blog_post.comments[].content

String

Required

ctx.blog_post.comments[].created_at

String

Required

ctx.blog_post.comments[].created_at_iso

Timestamp

Required

ctx.blog_post.comments[].id

String

Required

ctx.blog_post.comments_enabled

Boolean

Required

ctx.blog_post.comments_login_required

Boolean

Required

ctx.blog_post.comments_name_required

Boolean

Required

ctx.blog_post.comments_pagination

Pagination

Required

The platform's comment paging at the theme's page size: ?comments_page= addresses, every page that holds comments.

ctx.blog_post.comments_total

Integer

Required

Approved comments (comment_count). 0 while comments are turned off.

ctx.blog_post.content

HTML

Required

The post's body as HTML in the shopper's language (its translation when set, else its own).

ctx.blog_post.excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog_post.featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog_post.feed_urls

Object

Required

The blog's RSS and Atom feeds: the 50 newest published posts with their full content.

ctx.blog_post.feed_urls.atom

URL

Required

ctx.blog_post.feed_urls.rss

URL

Required

ctx.blog_post.id

String

Required

ctx.blog_post.metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.next_post

Object or null

Required; may be null

The post published just after this one (newer); null for the newest post. Read only when a template uses it.

ctx.blog_post.next_post.author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog_post.next_post.author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog_post.next_post.author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog_post.next_post.author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_post.next_post.author.id

String

Required

ctx.blog_post.next_post.author.name

String

Required

ctx.blog_post.next_post.author.slug

String

Required

ctx.blog_post.next_post.author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog_post.next_post.author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog_post.next_post.categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog_post.next_post.categories[].id

String

Required

ctx.blog_post.next_post.categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.next_post.categories[].name

String

Required

ctx.blog_post.next_post.categories[].slug

String

Required

ctx.blog_post.next_post.categories[].url

URL

Required

ctx.blog_post.next_post.comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog_post.next_post.excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog_post.next_post.featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog_post.next_post.id

String

Required

ctx.blog_post.next_post.metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.next_post.noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog_post.next_post.published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog_post.next_post.published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog_post.next_post.seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog_post.next_post.seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog_post.next_post.slug

String

Required

ctx.blog_post.next_post.social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog_post.next_post.tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog_post.next_post.tags[].id

String

Required

ctx.blog_post.next_post.tags[].name

String

Required

ctx.blog_post.next_post.tags[].slug

String

Required

ctx.blog_post.next_post.tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_post.next_post.template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog_post.next_post.title

String

Required

ctx.blog_post.next_post.updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog_post.next_post.url

URL

Required

ctx.blog_post.noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog_post.previous_post

Object or null

Required; may be null

The post published just before this one (older), by publication time; null for the oldest post. Read only when a template uses it.

ctx.blog_post.previous_post.author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog_post.previous_post.author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog_post.previous_post.author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog_post.previous_post.author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_post.previous_post.author.id

String

Required

ctx.blog_post.previous_post.author.name

String

Required

ctx.blog_post.previous_post.author.slug

String

Required

ctx.blog_post.previous_post.author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog_post.previous_post.author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog_post.previous_post.categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog_post.previous_post.categories[].id

String

Required

ctx.blog_post.previous_post.categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.previous_post.categories[].name

String

Required

ctx.blog_post.previous_post.categories[].slug

String

Required

ctx.blog_post.previous_post.categories[].url

URL

Required

ctx.blog_post.previous_post.comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog_post.previous_post.excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog_post.previous_post.featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog_post.previous_post.id

String

Required

ctx.blog_post.previous_post.metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.previous_post.noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog_post.previous_post.published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog_post.previous_post.published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog_post.previous_post.seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog_post.previous_post.seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog_post.previous_post.slug

String

Required

ctx.blog_post.previous_post.social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog_post.previous_post.tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog_post.previous_post.tags[].id

String

Required

ctx.blog_post.previous_post.tags[].name

String

Required

ctx.blog_post.previous_post.tags[].slug

String

Required

ctx.blog_post.previous_post.tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_post.previous_post.template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog_post.previous_post.title

String

Required

ctx.blog_post.previous_post.updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog_post.previous_post.url

URL

Required

ctx.blog_post.published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog_post.published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog_post.related_posts

Array of object

Required

Up to 3 other published posts that share a category or a tag with this post, newest first. Read only when a template uses them.

ctx.blog_post.related_posts[].author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog_post.related_posts[].author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog_post.related_posts[].author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog_post.related_posts[].author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_post.related_posts[].author.id

String

Required

ctx.blog_post.related_posts[].author.name

String

Required

ctx.blog_post.related_posts[].author.slug

String

Required

ctx.blog_post.related_posts[].author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog_post.related_posts[].author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog_post.related_posts[].categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog_post.related_posts[].categories[].id

String

Required

ctx.blog_post.related_posts[].categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.related_posts[].categories[].name

String

Required

ctx.blog_post.related_posts[].categories[].slug

String

Required

ctx.blog_post.related_posts[].categories[].url

URL

Required

ctx.blog_post.related_posts[].comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog_post.related_posts[].excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog_post.related_posts[].featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog_post.related_posts[].id

String

Required

ctx.blog_post.related_posts[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_post.related_posts[].noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog_post.related_posts[].published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog_post.related_posts[].published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog_post.related_posts[].seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog_post.related_posts[].seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog_post.related_posts[].slug

String

Required

ctx.blog_post.related_posts[].social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog_post.related_posts[].tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog_post.related_posts[].tags[].id

String

Required

ctx.blog_post.related_posts[].tags[].name

String

Required

ctx.blog_post.related_posts[].tags[].slug

String

Required

ctx.blog_post.related_posts[].tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_post.related_posts[].template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog_post.related_posts[].title

String

Required

ctx.blog_post.related_posts[].updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog_post.related_posts[].url

URL

Required

ctx.blog_post.seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog_post.seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog_post.slug

String

Required

ctx.blog_post.social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog_post.tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog_post.tags[].id

String

Required

ctx.blog_post.tags[].name

String

Required

ctx.blog_post.tags[].slug

String

Required

ctx.blog_post.tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_post.template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog_post.title

String

Required

ctx.blog_post.updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog_post.url

URL

Required

ctx.blog#

The routed blog list: the blog index, a blog category page, a tag page ({blog list}/tagged/{tag slug}), an author archive ({blog list}/authors/{author slug}) and a month archive ({blog list}/archive/YYYY/MM), each with its page of post cards. Tag pages and author archives are noindex,follow and are not in the sitemap; the blog index and categories are indexable. A tag page renders with the theme's blog_tag template and an author archive with its blog_author template; a theme without that template renders the page with its blog_list template. Available on Blog list, Blog category, Blog tag, Blog author routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.blog

Object

Declared root

ctx.blog.all_categories

Object

Required

Categories with at least one published post, by name in the shopper's language then id: at most 100; has_more is true when there are more. Read only when a template uses it.

ctx.blog.all_categories.has_more

Boolean

Required

ctx.blog.all_categories.items

Array of object

Required

ctx.blog.all_categories.items[].description

String or null

Required; may be null

The category's description in the shopper's language; null when it has none.

ctx.blog.all_categories.items[].id

String

Required

ctx.blog.all_categories.items[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog.all_categories.items[].name

String

Required

ctx.blog.all_categories.items[].noindex

Boolean

Required

True when the merchant hid the category from search engines (its page carries noindex and leaves the sitemap).

ctx.blog.all_categories.items[].post_count

Integer

Required

Published posts in the category.

ctx.blog.all_categories.items[].seo_description

String or null

Required; may be null

The category's own SEO description; null when none is set.

ctx.blog.all_categories.items[].seo_title

String or null

Required; may be null

The category's own SEO title; null when none is set (the page title then uses the category's name). Never filled from another field.

ctx.blog.all_categories.items[].slug

String

Required

ctx.blog.all_categories.items[].social_image

Media or null

Required; may be null

The image shown when the category is shared, as media; null when none is set.

ctx.blog.all_categories.items[].template_handle

String or null

Required; may be null

The blog category template the merchant assigned; null for the default template.

ctx.blog.all_categories.items[].url

URL

Required

ctx.blog.all_tags

Object

Required

Tags with at least one published post, by name in the shopper's language then id, each with its post_count and its page url: at most 100; has_more is true when there are more. Read only when a template uses it.

ctx.blog.all_tags.has_more

Boolean

Required

ctx.blog.all_tags.items

Array of object

Required

ctx.blog.all_tags.items[].id

String

Required

ctx.blog.all_tags.items[].name

String

Required

ctx.blog.all_tags.items[].post_count

Integer

Required

Published posts with this tag.

ctx.blog.all_tags.items[].slug

String

Required

ctx.blog.all_tags.items[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog.archives

Array of object

Required

Every month with published posts, newest first, each with its post count and its archive address (the blog list's address, /archive/YYYY/MM), counted in the store's time zone. Read only when a template uses it.

ctx.blog.archives[].count

Integer

Required

ctx.blog.archives[].month

String

Required

ctx.blog.archives[].url

URL

Required

ctx.blog.feed_urls

Object

Required

The blog's RSS and Atom feeds: the 50 newest published posts with their full content, author, categories and tags, featured image and dates.

ctx.blog.feed_urls.atom

URL

Required

ctx.blog.feed_urls.rss

URL

Required

ctx.blog.items

Array of object

Required

This page's posts, newest first. The page size is the theme's: the page_size range setting of the first section on the template that reads blog (1 to 48; 12 when no section declares it), which merchants change in the theme editor. On a category page the category's posts, on a tag page the tag's, on an author archive the author's, on a month archive that month's (store time). Only published posts are shown and counted (scheduled posts appear when they publish). Each text field reads its translation in the shopper's language when one is set and not empty, else the item's own value.

ctx.blog.items[].author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog.items[].author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog.items[].author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog.items[].author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog.items[].author.id

String

Required

ctx.blog.items[].author.name

String

Required

ctx.blog.items[].author.slug

String

Required

ctx.blog.items[].author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog.items[].author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog.items[].categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog.items[].categories[].id

String

Required

ctx.blog.items[].categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog.items[].categories[].name

String

Required

ctx.blog.items[].categories[].slug

String

Required

ctx.blog.items[].categories[].url

URL

Required

ctx.blog.items[].comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog.items[].excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog.items[].featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog.items[].id

String

Required

ctx.blog.items[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog.items[].noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog.items[].published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog.items[].published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog.items[].seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog.items[].seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog.items[].slug

String

Required

ctx.blog.items[].social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog.items[].tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog.items[].tags[].id

String

Required

ctx.blog.items[].tags[].name

String

Required

ctx.blog.items[].tags[].slug

String

Required

ctx.blog.items[].tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog.items[].template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog.items[].title

String

Required

ctx.blog.items[].updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog.items[].url

URL

Required

ctx.blog.month

String or null

Required; may be null

On a month archive, the month (YYYY-MM); null on every other blog page.

ctx.blog.pagination

Pagination

Required

The platform's paging at the theme's page size: ?page= addresses every page that holds posts (no limit on how deep); total_count is the number of posts the page lists from, total_pages the last page. A page number past the last page answers with the theme's 404 page.

ctx.blog.search

Object

Required

ctx.blog.search.enabled

Boolean

Optional

Whether ?q= searches this post list: blog search follows the storefront search switch (shop.search_enabled). While false, ?q= is ignored and the list shows every post: hide the blog's search box.

ctx.blog.search.max_length

Integer

Required

The longest query accepted, in characters; a longer one finds nothing.

ctx.blog.search.query

String

Required

The search applied to this list (?q=), "" when there is none or blog search is off. It searches the posts of the page's list only (the blog, a category, a tag, an author or a month) in the page's language, with the store's synonyms; page links keep q. A searched list is noindex,follow and canonical to the plain list.

ctx.blog_recent#

The store's 6 newest published posts, the same card fields as blog.items, on any page. Loaded when a section declares it in ctx_needs.

Field

Type

Requirement

Description

ctx.blog_recent

Array of object

Declared root

ctx.blog_recent[].author

Object or null

Required; may be null

The post's author; null when it has none.

ctx.blog_recent[].author.avatar

Media or null

Required; may be null

The author's photo as media (url, alt_text in the shopper's language, width, height); null when none.

ctx.blog_recent[].author.avatar_url

URL or null

Required; may be null

The photo's address (avatar.url); null when none.

ctx.blog_recent[].author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_recent[].author.id

String

Required

ctx.blog_recent[].author.name

String

Required

ctx.blog_recent[].author.slug

String

Required

ctx.blog_recent[].author.url

URL

Required

The author's archive: the blog list's address followed by /authors/ and the author's slug (author slugs are not translated). Author archives are noindex,follow and are not in the sitemap.

ctx.blog_recent[].author_name

String or null

Required; may be null

The author's name (author.name); null when the post has no author.

ctx.blog_recent[].categories

Array of object

Required

The post's categories by name in the shopper's language, then id.

ctx.blog_recent[].categories[].id

String

Required

ctx.blog_recent[].categories[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_recent[].categories[].name

String

Required

ctx.blog_recent[].categories[].slug

String

Required

ctx.blog_recent[].categories[].url

URL

Required

ctx.blog_recent[].comment_count

Integer

Required

Approved comments. 0 while the store has comments turned off, whatever is stored.

ctx.blog_recent[].excerpt

String or null

Required; may be null

The post's excerpt in the shopper's language; null when it has none.

ctx.blog_recent[].featured_image

Media or null

Required; may be null

The featured image as media: url, alt_text (its translation in the shopper's language, else its own alt text), width and height (its stored pixel size, null when unknown), so a card can keep the photo's ratio. Null when the post has none.

ctx.blog_recent[].id

String

Required

ctx.blog_recent[].metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_recent[].noindex

Boolean

Required

True when the merchant hid the post from search engines.

ctx.blog_recent[].published_at

String

Required

When the post was published, as display text in the shopper's language, the way the country they shop from writes dates and times, in the store's time zone with the zone named (such as "5 Dec 2026, 9:12 pm IST"). Use published_at_iso with the date filter for another format.

ctx.blog_recent[].published_at_iso

Timestamp or null

Required; may be null

When the post was published, ISO 8601 in the store's offset.

ctx.blog_recent[].seo_description

String or null

Required; may be null

The post's own SEO description; null when none is set.

ctx.blog_recent[].seo_title

String or null

Required; may be null

The post's own SEO title; null when none is set.

ctx.blog_recent[].slug

String

Required

ctx.blog_recent[].social_image

Media or null

Required; may be null

The image shown when the post is shared, as media; null when none is set.

ctx.blog_recent[].tags

Array of object

Required

The post's tags by name in the shopper's language, then id.

ctx.blog_recent[].tags[].id

String

Required

ctx.blog_recent[].tags[].name

String

Required

ctx.blog_recent[].tags[].slug

String

Required

ctx.blog_recent[].tags[].url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_recent[].template_handle

String or null

Required; may be null

The blog post template the merchant assigned; null for the default template.

ctx.blog_recent[].title

String

Required

ctx.blog_recent[].updated_at_iso

Timestamp

Required

When the post last changed, ISO 8601 in the store's offset.

ctx.blog_recent[].url

URL

Required

ctx.blog_category#

The routed blog category. An unknown slug answers with the theme's 404 page; a category with no published posts renders with no posts. A blog category setting resolves to this same shape. The blog root carries its posts. Available on Blog category routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.blog_category

Object

Declared root

ctx.blog_category.description

String or null

Required; may be null

The category's description in the shopper's language; null when it has none.

ctx.blog_category.id

String

Required

ctx.blog_category.metafields

Metafields

Optional

The item's storefront-visible metafields, the same values its own page carries. Read only when a template uses them, together for every card of the page.

ctx.blog_category.name

String

Required

ctx.blog_category.noindex

Boolean

Required

True when the merchant hid the category from search engines (its page carries noindex and leaves the sitemap).

ctx.blog_category.post_count

Integer

Required

Published posts in the category.

ctx.blog_category.seo_description

String or null

Required; may be null

The category's own SEO description; null when none is set.

ctx.blog_category.seo_title

String or null

Required; may be null

The category's own SEO title; null when none is set (the page title then uses the category's name). Never filled from another field.

ctx.blog_category.slug

String

Required

ctx.blog_category.social_image

Media or null

Required; may be null

The image shown when the category is shared, as media; null when none is set.

ctx.blog_category.template_handle

String or null

Required; may be null

The blog category template the merchant assigned; null for the default template.

ctx.blog_category.url

URL

Required

ctx.blog_tag#

The routed tag page ({blog list}/tagged/{tag slug in the shopper's language}). An unknown slug answers with the theme's 404 page; another language's slug or a slug the tag held before moves (301) to the tag's slug here, and the old ?tag= filter address moves to the tag page. A tag with no published posts renders with no posts. The blog root carries its posts. It renders with the theme's blog_tag template, else its blog_list template. Null on every other page. Available on Blog tag, Blog list routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.blog_tag

Object or null

Declared root

ctx.blog_tag.id

String

Required

ctx.blog_tag.name

String

Required

ctx.blog_tag.post_count

Integer

Required

Published posts with this tag.

ctx.blog_tag.slug

String

Required

ctx.blog_tag.url

URL

Required

The tag's page: the blog list's address followed by /tagged/ and the tag's slug in the shopper's language. Tag pages are noindex,follow and are not in the sitemap.

ctx.blog_author#

The routed author archive ({blog list}/authors/{author slug}). An unknown author answers with the theme's 404 page; an author with no published posts renders with no posts. The blog root carries the posts. It renders with the theme's blog_author template, else its blog_list template. Null on every other page. Available on Blog author, Blog list routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.blog_author

Object or null

Declared root

ctx.blog_author.avatar

Media or null

Required; may be null

The author's photo as media; null when none.

ctx.blog_author.bio

String or null

Required; may be null

The author's bio in the shopper's language; null when empty.

ctx.blog_author.id

String

Required

ctx.blog_author.name

String

Required

ctx.blog_author.post_count

Integer

Required

The author's published posts. An author with none still has an archive: it lists no posts.

ctx.blog_author.slug

String

Required

ctx.blog_author.url

URL

Required

This archive's address (the blog list's address, /authors/, the author's slug).

ctx.metaobjects#

Custom content (metaobjects) by type handle, for any page: ctx.metaobjects. is the type's first 50 active entries by display name, and whether there are more (for item in ctx.metaobjects.faq.entries). Each type is read only when a template first uses it; a handle the store has no active type for reads as null. A theme reads only the types it declares in config/metaobjects.json. Loaded when a section declares it in ctx_needs.

Field

Type

Requirement

Description

ctx.metaobjects

Object keyed by name

Declared root

ctx.metaobjects.{key}

Metaobject entries or null

Dynamic key

ctx.metaobject#

The routed custom content entry page (//, the type's address in the shopper's language). It renders with the template metaobject__ when the theme has one, else metaobject, else the platform's own layout. A draft or deleted entry, or a type without web pages, answers with the theme's 404 page once the store's redirects are checked. A metaobject setting resolves to this same shape. Available on Metaobject routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.metaobject

Metaobject entry

Declared root

ctx.metaobject_list#

The routed list page of a custom content type with web pages (/): the type and one page of its active entries by display name. It renders with the template metaobject_list__ when the theme has one, else metaobject_list, else the platform's own layout. ?page= addresses each page; a page past the last answers with the theme's 404 page. Available on Metaobject list routes when declared in ctx_needs.

Field

Type

Requirement

Description

ctx.metaobject_list

Object

Declared root

ctx.metaobject_list.entries

Array of metaobject entry

Required

This page's active entries by display name, then id, 24 a page.

ctx.metaobject_list.handle

String

Required

The type's handle.

ctx.metaobject_list.name

String

Required

The type's name as the merchant wrote it.

ctx.metaobject_list.pagination

Pagination

Required

The platform's paging: ?page= addresses every page that holds entries; total_count is the type's active entry count.

ctx.metaobject_list.url

URL

Required

The list page's address in the shopper's language and country path.