Sub-Collections
{% comment %}Get page handle{% endcomment %}
{% assign listname = page.handle %}
{% capture listname %}{{ page.title | handle }}{% endcapture %}
{% for link in linklists[listname].links %}
{% if link.object.products.first.id %} {% comment %}Make sure it's not empty{% endcomment %}
{{ link.object.products.first.featured_image | product_img_url: 'medium' | img_tag: link.title }}
{% endif %}
{% endfor %}