+813-444-3589+44 118 328 3220+49-231-976765-0 | 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:

Templates

Snippets

Assets

Config

Languages