Skip to content

Commit

Permalink
邪魔な部分の削除
Browse files Browse the repository at this point in the history
  • Loading branch information
kyukyunyorituryo committed Nov 21, 2018
1 parent 2cf5b80 commit 52d61fd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions template/OPS/xhtml/xhtml_nav.vm
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ nav#landmarks { display:none; }
</ol>
</nav>
## epub3 toc nav ================================
#if (${kindle})
<nav id="toc">
#else
<nav epub:type="toc" id="toc">
#end
<h1>目 次</h1>
<ol>
#if (${bookInfo.InsertCoverPage} && ${bookInfo.InsertCoverPageToc})
Expand All @@ -86,9 +82,9 @@ nav#landmarks { display:none; }
#end
#end
#if ($chapter.ChapterId)
<li class="chapter" id="toc${idx}"><a href="${chapter.SectionId}.xhtml#${chapter.ChapterId}">${chapter.ChapterName}</a>
<li><a href="${chapter.SectionId}.xhtml#${chapter.ChapterId}">${chapter.ChapterName}</a>
#else
<li class="chapter" id="toc${idx}"><a href="${chapter.SectionId}.xhtml">${chapter.ChapterName}</a>
<li><a href="${chapter.SectionId}.xhtml">${chapter.ChapterName}</a>
#end
#if (${navNest})
#foreach(${end} in ${chapter.LevelEnd})
Expand Down

0 comments on commit 52d61fd

Please sign in to comment.