Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 63a9b51

Browse files
committedJun 20, 2025
Fix chapter offset for chapter titles
1 parent 7b87548 commit 63a9b51

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
 

‎lib/recipes/algebra-1/recipe.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@
5454
classes: notes,
5555
options: { bake_subtitle: true })
5656

57-
BakeChapterTitle.v2(chapters: book.units.chapters,
58-
numbering_options: { mode: :unit_chapter_page, unit_offset: -2 })
57+
BakeChapterTitle.v2(
58+
chapters: book.units.chapters,
59+
numbering_options: {
60+
mode: :unit_chapter_page,
61+
unit_offset: -2,
62+
chapter_offset: -1
63+
}
64+
)
5965

6066
chapter_numbering_options = {
6167
unnumbered: { mode: :chapter_page, page_offset: -1 },

0 commit comments

Comments
 (0)
Please sign in to comment.