Skip to main content

content_for_layout

Dynamically returns content based on the current template.

Include the content_for_layout object in your layout files between the <body> and </body> HTML tags.


Note

The content_for_layout object is required in theme.liquid.


Directly accessible in

  • Global
Was this section helpful?