Yoolk Liquid

Home Theme-templates Layouts-theme-name

layouts/theme-name.liquid

{{ content_for_header }}, {{ content_for_closing_body }} and {{ content_for_layout }}

There are three Liquid objects that are required in theme-name.liquid:

The layouts/<theme-name>.liquid can be thought of as the master template; all other templates are rendered inside of layouts/<theme-name>.liquid. Any elements that are repeated in a theme (ex: site navigations, header, footer, etc.) should be placed inside layouts/<theme-name>.liquid.

There are a few steps to apply shopping cart in order to display cart icon at the top right of the page.

sample/all.js.coffee

#= require yoolk/jquery.shopping-cart

sample/all.scss

@import "yoolk/liquid/shopping-cart";

layouts

Requirements for the Theme

If you’re looking to submit your theme to the Yoolk Theme, the layouts/theme-name.liquid template of your theme must meet the following conditions: