templates/opf/epubv2.opf.erb in review-5.6.0 vs templates/opf/epubv2.opf.erb in review-5.7.0
- old
+ new
@@ -5,10 +5,12 @@
<%= @opf_coverimage %>
</metadata>
<%= @opf_manifest %>
<%= @opf_toc %>
<guide>
+<% if @config['cover'].present? %>
<reference type="cover" title="<%= ReVIEW::I18n.t('covertitle') %>" href="<%= @config['cover'] %>"/>
+<% end %>
<% if @config['titlepage'].present? %>
<reference type="title-page" title="<%= ReVIEW::I18n.t('titlepagetitle') %>" href="titlepage.<%= @config['htmlext'] %>"/>
<% end %>
<% if @config['mytoc'].present? %>
<reference type="toc" title="<%= ReVIEW::I18n.t('toctitle') %>" href="<%= @config['bookname'] %>-toc.<%= @config['htmlext'] %>"/>