<%= topic.title%>
<% if topic.extras.any? then %>
<% end %>
<% alternate = 0 %>
<% topic.items.each do |item| %>
<% althtml = unless alternate % 2 == 0 then "alternate" else "" end %>
<% if item.is_a?(BibTeX)%>
<%= if item.thumbnails[0] then "
" end %>
<%= item.authors %>
<% elsif item.is_a?(SimpleItem) %>
<%= if item.image then "
" end %>
<%= if item.link then "#{item.title}" else item.title end%>
<%= item.description %>
<% else %>
<%= item %>
<% end %>
<% alternate = alternate + 1 %>
<% end %>
<% end %>
<%= publications.title%>
<% alternate = 0 %>
<% publications.items.each do |item| %>
<% althtml = unless alternate % 2 == 0 then "alternate" else "" end %>
<% alternate = alternate + 1 %>
<% end %>
<% end %>