doc/src/examples/gallery_styles/slides/gallery_gallery.template in webgen-0.4.6 vs doc/src/examples/gallery_styles/slides/gallery_gallery.template in webgen-0.4.7

- old
+ new

@@ -12,11 +12,11 @@ <tr> <td style="width: 33%; padding: 2px;" align="left"> <% if ginfo.prev_gallery %> <a href="{relocatable: <%= ginfo.prev_gallery.pagename %>}"> &lt;&lt; previous gallery - <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>"> + <span class="thumb thumb-<%= ginfo['filename'].tr(' ', '_') %>"> <%= ginfo.prev_gallery.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %> </span> </a> <% end %> </td> @@ -27,11 +27,11 @@ </td> <td style="width: 33%; padding: 2px;" align="right"> <% if ginfo.next_gallery %> <a href="{relocatable: <%= ginfo.next_gallery.pagename %>}"> next gallery &gt;&gt; - <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>"> + <span class="thumb thumb-<%= ginfo['filename'].tr(' ', '_') %>"> <%= ginfo.next_gallery.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %> </span> </a> <% end %> </td> @@ -42,10 +42,10 @@ <% 0.step( ginfo.cur_gallery.images.length - 1, 5 ) do |row_index| %> <tr> <% row_index.upto( [row_index + 4, ginfo.cur_gallery.images.length - 1].min ) do |col_index|%> <td align="center"> <a href="{relocatable: <%= ginfo.cur_gallery.images[col_index].pagename %>}"> - <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>"> + <span class="thumb thumb-<%= ginfo['filename'].tr(' ', '_') %>"> <%= ginfo.cur_gallery.images[col_index].thumbnail('class'=>'webgen-gallery-thumbnail') %> </span> <br /> <%= ginfo.cur_gallery.images[col_index].title %> </a> \ No newline at end of file