<%- name %>

<% if(chapters.length > 1) {%>

<%- chapters.length %> <%- gettext('PDF Chapters') %>

<% } else if(chapters.length === 1) { %>

<%- chapters.at(0).get("asset_path") %>

<% } %> <% if(showChapters) { %>
    <% chapters.each(function(chapter) { %>
  1. <%- chapter.get('name') %> <%- chapter.get('asset_path') %>
  2. <% }) %>
<% } %>