Skip to content

Commit

Permalink
Fix bug when no footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Feb 19, 2019
1 parent 49d3c0e commit 6e72fcb
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/MDBaseGenerator/MDBaseGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,18 @@ MDBaseGenerator >> accentColor: anObject [

{ #category : #accessing }
MDBaseGenerator >> classGenerators [
^ {MDComponentClassGenerator . MDFileLibraryClassGenerator . MDSessionClassGenerator . MDPageClassGenerator . MDHelloWorldClassGenerator . self headerClassGenerator.
(self withFooter ifTrue: [ MDFooterClassGenerator ]) . self rootClassGenerator}
| classes |
classes := OrderedCollection new.
classes
add: MDComponentClassGenerator;
add: MDFileLibraryClassGenerator;
add: MDSessionClassGenerator;
add: MDPageClassGenerator;
add: MDHelloWorldClassGenerator;
add: self headerClassGenerator.
self withFooter ifTrue: [ classes add: MDFooterClassGenerator ].
classes add: self rootClassGenerator.
^ classes
]

{ #category : #preprocessing }
Expand Down

0 comments on commit 6e72fcb

Please sign in to comment.