<%= tocTitle %>

<% content.forEach(function(content, index){ %>

<%= (1+index) + ". " + (content.title || "Chapter "+ (1+index)) %> <% if(content.author.length){ %> - <%= content.author.join(",") %> <% } %> <% if(content.url){ %><%= content.url %><% }else{ %><% } %>

<% }) %>