1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2025-02-26 00:27:46 +01:00

[script] Only show one screenshot #614

This commit is contained in:
dkhamsing 2018-05-28 08:17:07 -07:00
parent 6843ecebba
commit 6322cc3eac

View File

@ -134,9 +134,9 @@ def output_apps(apps, appstoreonly)
unless screenshots.nil? unless screenshots.nil?
details << "\n <div>" details << "\n <div>"
screenshots.each_with_index do |s, i| # screenshots.each_with_index do |s, i|
details << "<img height='300' alt='#{name} image #{i+1}' src='#{screenshots[i]}'> " details << "<img height='300' alt='#{name} image' src='#{screenshots[0]}'> "
end # end
details << "\n</div>" details << "\n</div>"
end end