{"title":"ContentBlock - Liquid Object Reference","slug":"content-block-liquid-object-reference","url":"https://support.storeconnect.com/articles/content-block-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/content-block-liquid-object-reference.md","subtitle":null,"summary":"The ContentBlock object contains configuration information for an area of content created in the CMS.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, ContentBlock, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe ContentBlock object contains configuration information for an area of content created in the CMS.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `alignment` | String | Returns the value of the Alignment attribute |\n| `articles` | List[[Article](article-liquid-object-reference)] | Returns a list of Articles linked to this Content Block |\n| `children` | List[[ContentBlock](content-block-liquid-object-reference)] | Returns a list of child Content Blocks linked to this Content Block |\n| `content` | String | Returns the value of the Content attribute as rich text |\n| `document` | [Document](document-liquid-object-reference) | Returns the Document linked to this Content Block |\n| `file` | [File](file-liquid-object-reference) | Returns the File linked to this Content Block |\n| `id` | String | Returns the unique id for this Content Block |\n| `identifier` | String | Returns the value of the Identifier attribute |\n| `image` | [Image](image-liquid-object-reference) | Returns the Image linked to this Content Block |\n| `layout_style` | String | Returns the value of the Layout Style attribute |\n| `link_label` | String | Returns the value of the Link Label attribute |\n| `link_target` | String | Returns the value of the Link Target attribute |\n| `medium` | [Medium](medium-liquid-object-reference) | Returns the Medium linked to this Content Block |\n| `pages` | List[[Page](page-liquid-object-reference)] | Returns a list of Pages linked to this Content Block |\n| `product_categories` | List[[ProductCategory](product-category-liquid-object-reference)] | Returns a list of ProductCategories linked to this Content Block |\n| `products` | List[[Product](product-liquid-object-reference)] | Returns a list of Products linked to this Content Block |\n| `pull_text` | String | Returns the value of the Pull Text attribute |\n| `render` | String | Returns the rendered HTML content for this Content Block |\n| `sub_type` | String | Returns the value of the Sub Type attribute |\n| `subtitle` | String | Returns the value of the Subtitle attribute |\n| `summary_content` | String | Returns the value of the Summary attribute as rich text |\n| `template` | String | Returns the value of the Template attribute |\n| `title` | String | Returns the value of the Title attribute |\n| `video` | [Video](video-liquid-object-reference) | Returns the Video linked to this Content Block |\n\n## Available on\n\n- [Article - Liquid Object Reference](article-liquid-object-reference) — `content_blocks`\n- [Global - Liquid Object Reference](global-liquid-object-reference) — `all_content_blocks`\n- [Page - Liquid Object Reference](page-liquid-object-reference) — `content_blocks`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `content_blocks`\n- [Store - Liquid Object Reference](store-liquid-object-reference) — `body_content`, `footer`, `head_content`, `header`"}