{% load wagtailimages_tags %}
{% if block.value.title %}

{{block.value.title}}

{% endif %} {% for content in block.value.content %}
{% if content.block_type == 'heading' %}

{{content.value.title}}

{% elif content.block_type == 'highlight_heading' %}

{{content.value.title}}

{% elif content.block_type == 'image_heading' %}

{{content.value.icon|safe}} {% image content.value.image height-20 %} {{content.value.title}}

{% elif content.block_type == 'line_break' %} {% elif content.block_type == 'embed' %} {{content}}
{% elif content.block_type == 'cta' %} {% if content.value.title %} {{content.value.title}} {% else %} {{content.value.page.title}} {% endif %} {% elif content.block_type == 'hr_line' %}
{% elif content.block_type == 'paragraph' %}
{{content.value.text|safe}}
{% elif content.block_type == 'quote' %}

{{content.value.quote}}

{% elif content.block_type == 'category' %}
{% include 'components/home/catTile.html' with cat=content.value.category label=content.value.label %}
{% elif content.block_type == 'image' %}
{{content.value.title}}
{% elif content.block_type == 'tile_View' %}
{% for tile in content.value.tile_View %} {% if content.value.tile_Type == 'Round' %} {% include 'components/home/roundTile.html' with tile=tile.value %} {% else %} {% include 'components/home/NormalTile.html' with tile=tile.value %} {% endif %} {% endfor %}
{% elif content.block_type == 'products' %}
{% for prod in content.value %}
{{prod.title}}
{% endfor %}
{% elif content.block_type == 'code' %} {{content}} {% else %}
{{content.block_type}}
{% endif %}
{% endfor %}