Homepage Feature

Good catch! it’s been a while since I’ve looked at this component so I was able to do a general improvement pass:

https://github.com/discourse/discourse-homepage-feature-component/pull/96

This updates the images to use srcset, so the appropriate image for the container is used automatically. Available sizes can be set using a new `featured_image_sizes` setting.

I’ve also fixed the hide featured tag setting (wasn’t working so the tags were hidden always) and updated to the tags type setting rather than the plain text input. This also means that multiple tags may be used if desired.

1 Like