{% import '@macros/sections.twig' as render %} {% set options = options|default([]) + { item: false, meta: [], } %} {% set sections = options.item.get("content.sections") %} {% block content %} {% set image = options.item.get("content.media",[]) %} {% if image|default %} {% set image = {'description': false, 'title': false} + image %} {% include "@feed-google-news/sections/image.twig" with {section: image} %} {% endif %} {{ render.sections(sections, "@feed-google-news/sections/") }} {% endblock %}