macmillanpublishers / htmlmaker_js

Repo for testing and finalizing htmlmaker javascript implementation
0 stars 1 forks source link

If parts exist, wrap chapters in div.part #11

Closed nelliemckesson closed 7 years ago

nelliemckesson commented 7 years ago

If the book contains parts, the div.part elements should become a new parent div that contains all chapters until the next part or until the first appendix section.

nelliemckesson commented 7 years ago

Added handling to replicate current part handling (wrap part in div, but don't wrap the div around the child sections). We'll need to expand this when we're ready, which will also entail updating all CSS.