Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit a2868e1

Browse files
committed
Schedule heading in TOC, not chapter
1 parent 4cc840b commit a2868e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

views/_toc_container.haml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
%li{class: child.name}
33
- case child.name
44
- when "chapter"
5-
Chapter #{h child.num} - #{h child.heading}
5+
- if child.in_schedules?
6+
Schedule
7+
- else
8+
Chapter
9+
#{h child.num} - #{h child.heading}
610
- when "part"
711
Part #{h child.num} - #{h child.heading}
812
- when "section"

0 commit comments

Comments
 (0)