Custom Bees

{% assign property_size = item.properties | size %} {% if property_size > 0 %} {% for p in item.properties %} {% assign first_character_in_key = p.first | truncate: 1, '' %} {% unless p.last == blank or first_character_in_key == '_' %} {{ p.first }}: {% if p.last contains '/uploads/' %} {{ p.last | split: '/' | last }} {% else %} {{ p.last }} {% endif %}
{% endunless %} {% endfor %} {% endif %}