Skip to main content

content_for_index

Dynamically returns the content of sections to be rendered on the home page.

If you use a Liquid 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
Was this section helpful?