diff --git a/docs/configuration.md b/docs/configuration.md index c6835275..bcba284a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -765,6 +765,7 @@ Example: | ---- | ---- | -------- | ------- | | style | string | no | vertical-list | | feeds | array | yes | +| show-thumbnails | bool | no | false | | thumbnail-height | float | no | 10 | | card-height | float | no | 27 | | limit | integer | no | 25 | @@ -810,6 +811,9 @@ Below is a preview of each style: ![preview of horizontal-cards-2 style for RSS widget](images/rss-widget-horizontal-cards-2-preview.png) +##### `show-thumbnails` +Shows or hides thumbnails next to the feed. This only works if the style is `vertical-list`. + ##### `thumbnail-height` Used to modify the height of the thumbnails. Works only when the style is set to `horizontal-cards`. The default value is `10` and the units are `rem`, if you want to for example double the height of the thumbnails you can set it to `20`. diff --git a/internal/glance/templates/rss-list.html b/internal/glance/templates/rss-list.html index c14eb609..cf72b075 100644 --- a/internal/glance/templates/rss-list.html +++ b/internal/glance/templates/rss-list.html @@ -3,14 +3,25 @@ {{ define "widget-content" }}