+813-444-3589+49-231-976765-20+49-231-976765-20 | Contact us

Layout Directory

The layout directory contains a file named theme.liquid (and not differently) which contains the aforementioned master template. All files that contain Liquid placeholders or commands need to have a .liquid extension (this is valid for all files of a theme). While you still need the original file extension for asset files (e.g. .css files), they need to be removed for all Liquid HTML files. This is the only file in that directory.

The theme.liquid needs to contain two special markers named {{ content_for_header }}, which must be placed within the header and {{ content_for_layout }}, which must be placed in the body. Some analytics code, etc. need to be inserted in the header for a specific shop. Further, the actual page content is at the position of the second placeholder.


Other directories: