diff --git a/app/views/packages/list.slim b/app/views/packages/list.slim index d320e34..35c34b0 100644 --- a/app/views/packages/list.slim +++ b/app/views/packages/list.slim @@ -19,7 +19,7 @@ // TODO: smarter search for the best screenshot instead of taking the first one - screenshot = pkg.screenshots.first a.black title=screenshot.caption href=package_path(name: pkg.name) - = image_tag(screenshot.image.variant("800x600", timestamp: false), alt: screenshot.caption) + = image_tag(screenshot.medium_image, alt: screenshot.caption) /- if pkg.screenshots.length > 1 a.black href=package_path(name: pkg.name) 'and #{pluralize(pkg.screenshots.length-1, 'screenshot')} more…