Closed Fazarel closed 1 year ago
In blog-list-item.html.twig, first line: {% set image = page.media[header.featured_image] ?: page.media.images|first %}
{% set image = page.media[header.featured_image] ?: page.media.images|first %}
I think it should be: {% set image = page.media[page.header.featured_image] ?: page.media.images|first %}
{% set image = page.media[page.header.featured_image] ?: page.media.images|first %}
otherwise it's always "first image" that is used, never featured_image
@Fazarel thanks for your correction. I will fix it for the next version.
Fixed in new version 1.0.4. Thanks
In blog-list-item.html.twig, first line:
{% set image = page.media[header.featured_image] ?: page.media.images|first %}
I think it should be:
{% set image = page.media[page.header.featured_image] ?: page.media.images|first %}
otherwise it's always "first image" that is used, never featured_image