{#
Article Boxes
=============
Small article preview Boxes
#}
{% set related = related is defined and not null ? ' c-articleBoxes--related' : '' %}
{% for row in data %}
{# Settings for the featured Image #}
{% set image = row.featuredImage ? row.featuredImage : false %}
{% set ratio = row.featuredImageOptions.ratio ?: '15:8' %}
{# Adding the Image otherwise use a empty block #}
{# Include CategoryMarker #}
{% switch type %}
{% case 'blog' %}
{% include '_components/marker.html' with { data: row.categorySelectBlog, type: type} %}
{% endswitch %}