diff --git a/app/views/packages/index-list.slim b/app/views/packages/index-list.slim index 3b6b75b..ca40a6d 100644 --- a/app/views/packages/index-list.slim +++ b/app/views/packages/index-list.slim @@ -21,7 +21,7 @@ =pkg.name ' > - if pkg.screenshots.any? - a.black.fancybox title=pkg.screenshots.first.caption rel='fancybox-group' href=pkg.screenshots.first.url('large') + a.black.fancybox title=pkg.screenshots.first.caption rel=pkg.id href=pkg.screenshots.first.url('large') img.screenshot src=pkg.screenshots.first.url('large') - if pkg.screenshots.length > 1 a.black href=package_path(name: pkg.name)