{% capture path %} {{ page.images[include.image].file | prepend: 'content/' }} {% endcapture %} {% picture {{ path }} --img class="{{ include.class }}" --alt {{ include.alt }} %} {% if page.images[include.image].labels %} {% include functions/calc-svg-coord.html image_handle=include.image %} {% for item in page.images[include.image].labels %} {% endfor %} {% endif %} {% if include.caption %}

{{ include.caption }}

{% endif %}