File "atomic-svg.html.twig"
Full Path: /home/ccipcixf/public_html/beta/wp-content/plugins/elementor/modules/atomic-widgets/elements/atomic-svg/atomic-svg.html.twig
File size: 1.16 KB
MIME-type: text/plain
Charset: utf-8
{%- if settings.svg.html is defined and settings.svg.html is not empty -%}
{%- set classes = settings.classes | merge([base_styles.base]) | join(' ') -%}
{%- set id_attribute = settings._cssid is not empty ? 'id="' ~ settings._cssid | e('html_attr') ~ '"' : '' -%}
{%- if settings.link is defined and settings.link.attributes is not empty -%}
<{{ settings.link.tag | e('html_tag') }} {{ settings.link.attributes | raw }} class="{{ classes }}" data-interaction-id="{{ interaction_id }}"
{%- if id_attribute is not empty %} {{ id_attribute }}{% endif -%}
{%- if settings.attributes is defined and settings.attributes is not empty %} {{ settings.attributes | raw }}{% endif -%}
>{{ settings.svg.html | raw }}</{{ settings.link.tag | e('html_tag') }}>
{%- else -%}
<div class="{{ classes }}" data-interaction-id="{{ interaction_id }}"
{%- if id_attribute is not empty %} {{ id_attribute }}{% endif -%}
{%- if settings.attributes is defined and settings.attributes is not empty %} {{ settings.attributes | raw }}{% endif -%}
>{{ settings.svg.html | raw }}</div>
{%- endif -%}
{%- endif -%}