Deprecated tags
The following Liquid tags are considered deprecated, and have been replaced. They are still used in some themes, but it's recommended that you use the alternatives that are listed below.
include
See alternative: render
Inserts a snippet from the snippets folder of a theme.
{% include 'snippet-name' %}
The include
tag works similarly to the render
tag, but it lets the code inside of the snippet to access and overwrite the variables within its parent template. The include
tag has been deprecated because the way that it handles variables reduces performance and makes theme code harder to both read and maintain.