{% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
{% if editmode %}
{{ pimcore_relations("teasers", {
"types": ["object"],
"subtypes": {
"object": ["object", "folder"],
},
"classes": ["Teaser"]
}) }}
{% endif %}
{% for teaser in app_teasers_get_list( pimcore_relations("teasers"), config.fetch.limit|default(null)) %}
{% include '@App/AreaIncludes/teaser/teaser.html.twig' with { teaser: teaser} %}
{% endfor %}
{% if config.load_more|default(false) %}
{{ wrap_macro.wrapperOpen( config.load_more, _context) }}
{{ 'Load more'|trans }}
{{ wrap_macro.wrapperClose( config.load_more) }}
{% endif %}