{% macro set_element(block) %}
  {% if (block.value|length) > 0 %}
    {% set _setTite = block.type ?? 'h2' %}

    {% if _setTite == 'h3' %}
      <h3 class="{{ block.class ?? null }}">
        {{ block.value }}
      </h3>
    {% endif %}
    {% if _setTite == 'h2' %}
      <h2 class="{{ block.class ?? null }}">
        {{ block.value }}
      </h2>
    {% endif %}
  {% endif %}
{% endmacro %}
