*** empty log message ***
authorgc <gc>
Mon, 10 Apr 2006 21:26:39 +0000 (21:26 +0000)
committergc <gc>
Mon, 10 Apr 2006 21:26:39 +0000 (21:26 +0000)
bin/booh-backend

index 96cb6c67f1dcbf57297f7063ca742e89d4c5e21a..18b703eaa1aa7526943d6affdfbb914e185a60d3 100755 (executable)
@@ -1020,7 +1020,7 @@ def walk_source_dir
                             i.gsub!(/~~multiplepagesstuff~~/, mstuff)
                         end
                         i.sub!(/~~thumbnails~~/, html_thumbnails)
-                        substitute_html_sizes(i, sizeobj, 'thumbnails', '')
+                        substitute_html_sizes(i, sizeobj, 'thumbnails', "-#{pagecount}")
                     end
                     ios = File.open("#{dest_dir}/thumbnails-#{size2js(sizeobj['name'])}-#{pagecount}.html", "w")
                     ios.write(final_html)
@@ -1028,7 +1028,7 @@ def walk_source_dir
                     final_html_nojs = html_nojs.collect { |l| l.clone }
                     for i in final_html_nojs
                         i.sub!(/~~thumbnails~~/, html_thumbnails_nojs)
-                        substitute_html_sizes(i, sizeobj, 'thumbnails', '-nojs')
+                        substitute_html_sizes(i, sizeobj, 'thumbnails', "-nojs-#{pagecount}")
                     end
                     ios = File.open("#{dest_dir}/thumbnails-#{size2js(sizeobj['name'])}-nojs-#{pagecount}.html", "w")
                     ios.write(final_html_nojs)