{% comment %} Use this file to store svg tags and reuse as variables with the capture tag. {%- capture svg_icon -%} Your svg code goes here {%- endcapture -%} {% endcomment %}