Theme tags provide tools for building modular and reusable templates.
include
Renders a template partial (snippet) inside the current template.
{% include 'snippet_name' %}
The name of the snippet to include.
<div class="products">
{% include 'product-card' %}
</div>
<div class="product-card">
<h3>Product Title</h3>
<p>$19.99</p>
</div>
<div class="products">
<div class="product-card">
<h3>Product Title</h3>
<p>$19.99</p>
</div>
</div>