<% var count=0; _.each(origin, function(author) { count++; if (count > 1) { print(", ") } if (count > 1 && count == origin.length) { print("and ") } print(author) if (count == origin.length) { print(". ") } }) %> <% if(pubDate) { print(moment(pubDate).format('YYYY'), '. ') } else { print(moment(dateUploaded).format('YYYY'), '. ') } %> <% if (title) { print('', title, '. '); } %> <%- id %> <% if (resourceMap) { print(''); } %>
<% if (resourceMap) { print(''); print(''); print(''); } else { print(''); print(''); } %>
<% if(abstract !==undefined){ print('
'); print(abstract); print('
'); } %>