+
+
+<% if(chapters.length > 1) {%>
+
+
+ <%= chapters.length %> PDF Chapters
+
+<% } else if(chapters.length === 1) { %>
+
+ <%= chapters.at(0).get("asset_path") %>
+
+<% } %>
+
+
+<% if(showChapters) { %>
+
+ <% chapters.each(function(chapter) { %>
+ -
+ <%= chapter.get('name') %>
+ <%= chapter.get('asset_path') %>
+
+ <% }) %>
+
+<% } %>
+
+