{% if include.image %} {% assign image = image %} {% else %} {% assign item = site[include.collection] | where: 'pid', include.pid | first %} {% assign image = item.full %} {% endif %} {%- capture style -%} background-image: url('{{ image | absolute_url }}'); background-position: 0% {{ include.y | default: '15%' }}; {% if include.height %} height: {{ include.height }} !important; {% endif %} {%- endcapture -%}
{% if item.label %}
{% endif %}