Partials

Ericson C. Smith · Updated February 19, 2026

Partials are reusable snippets of HTML and Liquid that can be included inside other templates — and even within other partials.

When creating a partial, name the file using a leading underscore and no leading forward slash:

_sidebar

To include the partial inside a template, use the following Liquid tag:

{% partial sidebarn %}

Notice that the underscore is not included when referencing the partial.