--- title: 'Liquid objects: content_for_index' description: >- Dynamically returns the content of [sections](/themes/architecture/sections) to be rendered on the home page. api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/objects/content_for_index' md: 'https://shopify.dev/docs/api/liquid/objects/content_for_index.md' --- # content\_​for\_​index Dynamically returns the content of [sections](https://shopify.dev/themes/architecture/sections) to be rendered on the home page. If you use a [Liquid index template](https://shopify.dev/themes/architecture/templates/index-template) (`templates/index.liquid`), then you must include `{{ content_for_index }}` in the template. This object can't be used in JSON index templates. ### Directly accessible in * Global