mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-24 00:50:25 +12:00
🤦
This commit is contained in:
parent
ace0ef5f65
commit
f2fa71aeb9
|
@ -234,9 +234,9 @@ export function createNcx (ffc) {
|
|||
|
||||
export function createNav (ffc) {
|
||||
let list = [
|
||||
m('li', {hidden: ''}, m('a', {href: 'Text/cover.xhtml'}, 'Cover')),
|
||||
m('li', {hidden: ''}, m('a', {href: 'Text/title.xhtml'}, 'Title Page')),
|
||||
ffc.storyInfo.chapters.length > 1 || (ffc.options.includeAuthorNotes && ffc.options.useAuthorNotesIndex && ffc.hasAuthorNotes) ? m('li', {hidden: ''}, m('a', {href: 'nav.xhtml'}, 'Contents')) : null
|
||||
m('li', m('a', {href: 'Text/cover.xhtml'}, 'Cover')),
|
||||
m('li', m('a', {href: 'Text/title.xhtml'}, 'Title Page')),
|
||||
ffc.storyInfo.chapters.length > 1 || (ffc.options.includeAuthorNotes && ffc.options.useAuthorNotesIndex && ffc.hasAuthorNotes) ? m('li', m('a', {href: 'nav.xhtml'}, 'Contents')) : null
|
||||
].concat(ffc.storyInfo.chapters.map((ch, num) =>
|
||||
m('li', [
|
||||
m('a.leftalign', {href: 'Text/chapter_' + zeroFill(3, num + 1) + '.xhtml'}, ch.title)
|
||||
|
|
Loading…
Reference in a new issue