Remove interior title page — cover replaces it
The title page is redundant since the KDP cover (cover.pdf) already establishes title and author. Interior now opens directly on the copyright page, followed by the TOC and stories (99 pages total). Removed unused .page--title CSS from layout and typography. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -69,8 +69,8 @@ async function build() {
|
||||
const outPath = join(root, 'output', 'book.html');
|
||||
await writeFile(outPath, html, 'utf-8');
|
||||
|
||||
// title page + copyright + TOC + (4 scenes × 2 pages per story) + finale
|
||||
const pageCount = 3 + stories.reduce((acc, s) => acc + s.scenes.length * 2, 0) + 1;
|
||||
// copyright + TOC + (4 scenes × 2 pages per story) + finale
|
||||
const pageCount = 2 + stories.reduce((acc, s) => acc + s.scenes.length * 2, 0) + 1;
|
||||
await writeFile(
|
||||
join(root, 'output', 'book-meta.json'),
|
||||
JSON.stringify({ pageCount, storyCount: stories.length, builtAt: new Date().toISOString() }, null, 2),
|
||||
|
||||
Reference in New Issue
Block a user