Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
add author name to synopsis, hide synopsis from toc (resolves #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaDamm committed Nov 26, 2023
1 parent f6b07f3 commit 8d91e31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Exporter/exporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ export class Exporter {
private buildSynopsis(bookMetadata: BookMetadata): Chapter {
return {
title: 'Synopsis',
author: bookMetadata.authorName,
content: bookMetadata.synopsis,
filename: 'synopsis.html',
beforeToc: true
beforeToc: true,
excludeFromToc: true,
}
}

Expand Down

0 comments on commit 8d91e31

Please sign in to comment.