Browse code

Add alias to assets

Benjamin Roth authored on01/10/2024 15:35:42
Showing1 changed files
... ...
@@ -2,6 +2,8 @@
2 2
 {% use "@Contao/component/_list.html.twig" %}
3 3
 {% use "@Contao/component/_figure.html.twig" %}
4 4
 
5
+{% import "@ContaoCore/Image/Studio/_macros.html.twig" as studio %}
6
+
5 7
 {%- macro listEntry(label, value, options = {}) -%}
6 8
     {%- set class = options.class|default({}) -%}
7 9
     {%- set prepend = options.prepend|default({}) %}
... ...
@@ -33,8 +35,6 @@
33 35
 
34 36
 
35 37
 {% block content %}
36
-    {% import "@ContaoCore/Image/Studio/_macros.html.twig" as studio %}
37
-
38 38
     <div class="re_asset_expose">
39 39
 
40 40
         {{ _self.backgroundWrapper_open('-padding-medium') }}