
Shopify Liquid code examples - GitHub Pages
This component contains the Liquid and HTML needed to display article title, author, published date, content, and tags. In this case, the visibility of the article author and published date can …
Liquid template language
Liquid is an open-source template language created by Shopify and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts.
Call to Action | Shopify Liquid code examples
Create a new file within the sections folder of your theme, and paste the code below into this file. Save file as call-to-action.liquid. Navigate to the Theme Editor and select "Add section". Within …
Variations of Liquid - Liquid template language
This site documents the latest version of Liquid including betas and release candidates — that is, Liquid as it exists outside of Shopify and Jekyll. If you download the Liquid repository or install …
Template – Liquid template language
Allows you to leave un-rendered code inside a Liquid template. Any text within the opening and closing comment blocks will not be printed, and any Liquid code within will not be executed.
Logo list | Shopify Liquid code examples
Feb 21, 2019 · Note, this code example uses the placeholder_svg_tag Liquid filter to output an SVG illustration when no logo is present in a block. You can learn more about the …
Types – Liquid template language
It is not a string with the characters “nil”. Nil is treated as false in the conditions of if blocks and other Liquid tags that check the truthfulness of a statement. In the following example, if the …
Homepage quotes | Shopify Liquid code examples
Feb 21, 2019 · Create a new file within the sections folder of your theme, and paste the code below into this file. Save file as quotes.liquid. Add your own required styling for the quotes to …
Social media navigation | Shopify Liquid code examples
Place the following code where you would like your social media navigation to appear. The visually-hidden class hides the link text from the screen so only the icon is visible, and the aria …
Introduction – Liquid template language
Filters change the output of a Liquid object or variable. They are used within double curly braces {{ }} and variable assignment, and are separated by a pipe character |.