@total_onion/onion-library 2.0.101 → 2.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
<{{accentImageContainerElement}}
|
|
99
99
|
{{accentImageCtaType == 'link' ? 'href="' ~ image.accent_image_link.url ~ '" ' ~ 'target="' ~ image.accent_image_link.target ~ '" ' : ''}}
|
|
100
100
|
class="{{block.id}}-{{ loop.index }} {{blockClassName}}__accent-image">
|
|
101
|
+
{% if image.inline_raw_svg %}
|
|
102
|
+
{{fn('get_raw_svg', accentImage.id, blockClassName ~ '__image-element element')}}
|
|
103
|
+
{% else %}
|
|
101
104
|
<img
|
|
102
105
|
class="{{block.id}}-{{ loop.index }} {{blockClassName}}__image-element element"
|
|
103
106
|
src="{{ accentImage.src }}"
|
|
@@ -106,9 +109,11 @@
|
|
|
106
109
|
alt="{{ accentImage.alt }}"
|
|
107
110
|
loading="lazy"
|
|
108
111
|
/>
|
|
112
|
+
{% endif %}
|
|
113
|
+
|
|
109
114
|
{% if fields.accent_image_v3.show_image_number and is_preview %}
|
|
110
115
|
<div class="{{blockClassName}}__image-number">{{ loop.index }}</div>
|
|
111
116
|
{% endif %}
|
|
112
117
|
</{{accentImageContainerElement}}>
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
{% endfor %}
|
|
119
|
+
{% endif %}
|