<%= tocTitle %>
<% content.forEach(function(content, index){ %> <% if(!content.excludeFromToc && content.beforeToc){ %>
<%= (content.title || "Chapter "+ (1+index)) %><% if(content.author.length){ %> -
<%= content.author.join(",") %>
<% }%><% if(content.url){ %>
<%= content.url %>
<% }%>
<% } %> <% }) %>
- <%= tocTitle %> -
<% content.forEach(function(content, index){ %> <% if(!content.excludeFromToc && !content.beforeToc){ %>
<%= (content.title || "Chapter "+ (1+index)) %><% if(content.author.length){ %> -
<%= content.author.join(",") %>
<% }%><% if(content.url){ %>
<%= content.url %>
<% }%>
<% } %> <% }) %>