{% macro subheadingComponent(data) %} {% set args = { "text" : {}, "class" : '', } %} {% do args.update(data) %} {% if args.text %}
{{ args.text }}
{% endif %} {% endmacro %} {% macro headingComponent(data) %} {% set args = { "tag" : 'h2', "text" : '', "inherit" : false, "class" : '', } %} {% do args.update(data) %} {% if args.text %} {% set tag = args.tag %} <{{ tag }} class="heading {{ args.inherit ? ' heading-inherit' : ''}}{{ args.class ? ' '+args.class : ''}}">{{ args.text }} {% endif %} {% endmacro %} {% macro textComponent(data) %} {% set args = { "text" : '', "enlarge_text" : false, "class" : 'my-2', } %} {% do args.update(data) %} {% if args.text %}
{% inline_rich_text value="{{ args.text|trim }}", field="description" %}
{% endif %} {% endmacro %}