I have custom module with an image for blogs with the following html:
{% if widget.normal_thumb_800x800.src %} <div class="post-image" style="background:url({{ widget.normal_thumb_800x800.src }}) center center; background-size:cover;"></div> {% else %} <div class="post-image" style="background:url({{ content.post_list_summary_featured_image }}) center center;background-size:cover;"></div> {% endif %}
This module works exactly has intented on the blog posts. But on the blog listing/index it cant find the widget.
I found a documentation page that says I should for mat it like this: content.widgets.normal_thumb_800x800.body.src for the blog listing but it still does not work.