Skip to content

Commit

Permalink
Add tests for EPUB without cover
Browse files Browse the repository at this point in the history
  • Loading branch information
e-adrien committed Aug 15, 2024
1 parent 2441804 commit d8ed7fd
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/epub2/content.opf.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<itemref idref="content_<%= index %>_<%= content.id %>"/>
<% } %>
<% }) %>
<% if(locals.cover) { %><itemref idref="cover"/><% } %>
<% if (locals.cover) { %><itemref idref="cover"/><% } %>
<itemref idref="toc" />
<% content.forEach(function(content, index){ %>
<% if(!content.beforeToc && !content.excludeFromToc){ %>
Expand Down
Loading

0 comments on commit d8ed7fd

Please sign in to comment.