<%= id %>
22
BookId
<%= title %>
<% if (bookMetadata && bookMetadata.subtitle) { %>
<%= bookMetadata.subtitle %>
<% } %>
<%= title %>
<%= lang || "en" %>
<%= lang || "en" %>
<%= (new Date()).toISOString().split(".")[0]+ "Z" %>
<%= author.length ? author.join(",") : author %>
<%= author.length ? author.join(",") : author %>
<%= publisher || "anonymous" %>
<%= publisher || "anonymous" %>
<% var date = new Date(); var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var stringDate = "" + year + "-" + month + "-" + day; %>
<%= bookMetadata && bookMetadata.publishedDate ? bookMetadata.publishedDate : stringDate %>
<%= bookMetadata && bookMetadata.publishedDate ? bookMetadata.publishedDate : stringDate %>
<% if (bookMetadata && bookMetadata.description) { %>
<%= bookMetadata.description %>
<%= bookMetadata.description %>
<% } %>
<% if (bookMetadata && bookMetadata.categories && bookMetadata.categories.length) { bookMetadata.categories.forEach(function(category){ %>
<%= category %>
<% }); } %>
<% if (bookMetadata && bookMetadata.identifiers && bookMetadata.identifiers.length) { bookMetadata.identifiers.forEach(function(identifier, idx){ %>
<%= identifier.identifier %>
<% }); } %>
<% if (bookMetadata && bookMetadata.pageCount) { %>
<%= bookMetadata.pageCount %>
<% } %>
<% if (bookMetadata && bookMetadata.averageRating) { %>
<%= bookMetadata.averageRating %>
<% } %>
<% if (bookMetadata && bookMetadata.ratingsCount) { %>
<%= bookMetadata.ratingsCount %>
<% } %>
<% if (bookMetadata && bookMetadata.infoLink) { %>
<%= bookMetadata.infoLink %>
<% } %>
All rights reserved
Copyright © <%= (new Date()).getFullYear() %> by <%= publisher || "anonymous" %>
true
<% if(locals.cover) { %>
<% } %>
<% images.forEach(function(image, index){ %>
<% }) %>
<% content.forEach(function(content, index){ %>
<% }) %>
<% fonts.forEach(function(font, index){%>
<%})%>
<% content.forEach(function(content, index){ %>
<% if(content.beforeToc && !content.excludeFromToc){ %>
<% } %>
<% }) %>
<% content.forEach(function(content, index){ %>
<% if(!content.beforeToc && !content.excludeFromToc){ %>
<% } %>
<% }) %>