{% extends '@nucleus/partials/particle.html.twig' %} {% set attr_extra = '' %} {% if particle.extra %} {% for attributes in particle.extra %} {% for key, value in attributes %} {% set attr_extra = attr_extra ~ ' ' ~ key|e ~ '="' ~ value|e('html_attr') ~ '"' %} {% endfor %} {% endfor %} {% endif %} {% set contactitems %} {% for item in particle.items %} {% set attr_extra_item = '' %} {% for extra in item.extra %} {% set attr_extra_item = attr_extra_item ~ ' ' ~ extra|keys|first|e ~ '="' ~ extra|values|first|e('html_attr') ~ '"' %} {% endfor %} {% set style1 %}
{% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %} {% if item.link %} {% endif %} {% if item.icon %} {% endif %} {% if item.title %} {{ item.title|raw }} {% endif %} {% if item.value %} {{ item.value|raw }} {% endif %} {% if item.link %} {% endif %} {% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %}
{% endset %} {% set style2 %}
{% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %} {% if item.icon %}
{% endif %} {% if item.title or item.value%}
{% if item.title %}

{{- item.title|raw -}}

{% endif %} {% if item.value %} {% endif %}
{% endif %} {% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %}
{% endset %} {% if particle.style|default("style1") == "style1" %}{{ style1 }}{% endif %} {% if particle.style|default("style1") == "style2" %}{{ style2 }}{% endif %} {% endfor %} {% endset %} {% block particle %}
{% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %} {{ contactitems }} {% if particle.layout|default('vertical') == 'horizontal' and particle.equal|default(0) %}
{% endif %}
{% endblock %}