Browse code

Add alias to assets

Benjamin Roth authored on01/10/2024 15:19:31
Showing1 changed files
... ...
@@ -136,9 +136,13 @@
136 136
                     <div class="description">{{ item.property.description|raw }}</div>
137 137
                 {% endif %}
138 138
 
139
-                {% if item.property.galleryFigures[0] %}
140
-                    {{- studio.figure(item.property.galleryFigures[0], { attr: { class: ('image_container media') }}) -}}
141
-                {% endif %}
139
+                <div class="property-media">
140
+                    {% block property_media %}
141
+                        {% if item.property.galleryFigures[0] %}
142
+                            {{- studio.figure(item.property.galleryFigures[0], { attr: { class: ('image_container media') }}) -}}
143
+                        {% endif %}
144
+                    {% endblock %}
145
+                </div>
142 146
             </div>
143 147
             {{ _self.backgroundWrapper_close }}
144 148
         {% endif %}