Modifying templates test and installation
This commit is contained in:
parent
3d7cc8110c
commit
7ddbed96bc
@ -2,5 +2,5 @@ accessing
|
||||
exportStaticWebReport
|
||||
|
||||
self hasTemplates
|
||||
ifTrue: [ self installTemplate ].
|
||||
ifFalse: [ self installTemplate ].
|
||||
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder
|
@ -1,6 +1,6 @@
|
||||
accessing
|
||||
hasTemplates
|
||||
|
||||
|
||||
| templatesFolder |
|
||||
templatesFolder :=(TweetsCollection dataStore / 'templates' ).
|
||||
^ templatesFolder exists and: [ templatesFolder children isNotEmpty ]
|
Loading…
Reference in New Issue
Block a user