Skip to content

Commit

Permalink
Add an "index" class to the multipage index.html
Browse files Browse the repository at this point in the history
Helps with #27.
  • Loading branch information
domenic committed Jun 15, 2017
1 parent fc38205 commit b1af37b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dom
Submodule dom added at e728c1
2 changes: 1 addition & 1 deletion src/wattsi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@ function Split(const Document: TDocument; var BigTOC: TElement; const Base: Ansi
end;
// save table of contents section
SectionDoc := Document.CloneNode(True);
SectionDoc.DocumentElement.SetAttribute('class', 'split');
SectionDoc.DocumentElement.SetAttribute('class', 'split index');
Save(SectionDoc, Base + kIndexFilename);
SectionDoc.Free();
BigTOC.Remove();
Expand Down

0 comments on commit b1af37b

Please sign in to comment.