{# Default capture: append #}
{% set data = [{"title": "title1", "content": "content1"}, {"title": "title2", "content": "content2"}] %}
{% do pimcore_placeholder('foo').captureStart() %}
{# If placeholder is working this section is not rendered directly but captured into placeholder#}
{% for datum in data %}
{{ datum.title }}
{{ datum.content }}
{% endfor %}
{% do pimcore_placeholder('foo').captureEnd() %}
{# If placeholder is working it should render three sections of same content #}