Skip to content

Commit

Permalink
Rename cover.xhtml to front-cover.xhtml, and add back-cover.xhtml
Browse files Browse the repository at this point in the history
  • Loading branch information
neo954 committed Dec 5, 2023
1 parent a8e4f5c commit 6da9c35
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Empty file added epub/OEBPS/back-cover.xhtml
Empty file.
8 changes: 5 additions & 3 deletions epub/OEBPS/content.opf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="cookbook.css" href="styles/cookbook.css" media-type="text/css"/>
<item id="cover.xhtml" href="cover.xhtml" media-type="application/xhtml+xml" properties="svg"/>
<item id="front-cover.xhtml" href="front-cover.xhtml" media-type="application/xhtml+xml" properties="svg"/>
<item id="nav.xhtml" href="nav.xhtml" media-type="application/xhtml+xml" properties="nav"/>
<item id="cover-illustration.png" href="images/cover-illustration.png" media-type="image/png" properties="cover-image"/>
<item id="back-cover-background.png" href="images/back-cover-background.png" media-type="image/png"/>
Expand Down Expand Up @@ -356,9 +356,10 @@
<item id="recipe-312.xhtml" href="recipe-312.xhtml" media-type="application/xhtml+xml"/>
<item id="collation-notes.xhtml" href="collation-notes.xhtml" media-type="application/xhtml+xml"/>
<item id="colophon.xhtml" href="colophon.xhtml" media-type="application/xhtml+xml"/>
<item id="back-cover.xhtml" href="back-cover.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="cover.xhtml"/>
<itemref idref="front-cover.xhtml"/>
<itemref idref="half-title.xhtml"/>
<itemref idref="frontispiece.xhtml"/>
<itemref idref="title-page.xhtml"/>
Expand Down Expand Up @@ -680,9 +681,10 @@
<itemref idref="recipe-312.xhtml"/>
<itemref idref="collation-notes.xhtml"/>
<itemref idref="colophon.xhtml"/>
<itemref idref="back-cover.xhtml"/>
</spine>
<guide>
<reference type="cover" title="Cover" href="cover.xhtml"/>
<reference type="cover" title="Cover" href="front-cover.xhtml"/>
<reference type="toc" title="Table of Contents" href="nav.xhtml"/>
</guide>
</package>
File renamed without changes.
2 changes: 1 addition & 1 deletion epub/OEBPS/nav.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<nav epub:type="toc" id="toc" role="doc-toc"><h1>Table of Contents</h1>

<ol>
<li><a href="cover.xhtml">封面</a></li>
<li><a href="front-cover.xhtml">封面</a></li>

<li><a href="half-title.xhtml">书名页</a></li>

Expand Down
2 changes: 1 addition & 1 deletion epub/OEBPS/toc.ncx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<navLabel>
<text>封面</text>
</navLabel>
<content src="cover.xhtml" />
<content src="front-cover.xhtml" />
</navPoint>
<navPoint id="navPoint2">
<navLabel>
Expand Down

0 comments on commit 6da9c35

Please sign in to comment.