The following Liquid tags are deprecated and have been replaced. Some themes still use them, but we recommend the alternatives listed below.

include

The include tag has been replaced by the render tag.

Inserts a snippet from the snippets folder of a theme.

{% include 'snippet-name' %}

The include tag works like the render tag, but lets the code inside the snippet access and overwrite the variables of its parent template. include is deprecated because this handling of variables reduces performance and makes theme code harder to read and maintain.