{{ page.title }}
{{ page.content }}
{% assign linklist = linklists["personalization-baby"] %}
{% assign collections_per_row = 3 %}
' %} {% elsif collections_per_row == "3" %} {% cycle '', '', '
' %} {% elsif collections_per_row == "4" %} {% cycle '', '', '', '
' %} {% endif %} {% endfor %}
{% for link in linklist.links %}
{% comment %}
This section supports linking to collections, products, pages, and blogs. It will use the first image found in the page content or blog article.
{% endcomment %}
{% assign link_item = link.object %}
{% assign link_image = '' %}
{% capture link_title %}{{ link.title | escape }}{% endcapture %}
{% if link.type == 'collection_link' %}
{% if link_item.image %}
{% assign link_image = link_item.image.src | collection_img_url: '1024x1024' %}
{% else %}
{% assign link_image = link_item.products.first.featured_image | product_img_url: '1024x1024' %}
{% endif %}
{% elsif link.type == 'product_link' %}
{% assign link_image = link_item.featured_image | product_img_url: '1024x1024' %}
{% elsif link.type == 'page_link' %}
{% if link_item.content contains "
{% if link_image != '' %}
{% endif %}
{% if settings.frontpage_collections_title %}
{% if collections_per_row == "2" %}
{% cycle '', ' {{ link_title }}
{% endif %}' %} {% elsif collections_per_row == "3" %} {% cycle '', '', '
' %} {% elsif collections_per_row == "4" %} {% cycle '', '', '', '
' %} {% endif %} {% endfor %}