Content_for_layout

Hi,

I just check on this and the documentation seems not updated. The documentation in Liquid objects had mentioned that the content_for_layout is any contents inside the body tag but I cannot seem to find the header nor header group being included. Are we able to check the contents of header group?

content_for_layout will return the sections inside the Template header. The dynamic main content components.

The other groups should be manually rendered in theme.liquid.

{%- sections 'header-group' -%}
{%- sections 'overlay-group' -%}
1 Like