Modifying templates test and installation

This commit is contained in:
ruidajo 2022-06-09 15:18:07 -05:00
parent 3d7cc8110c
commit 7ddbed96bc
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ accessing
exportStaticWebReport exportStaticWebReport
self hasTemplates self hasTemplates
ifTrue: [ self installTemplate ]. ifFalse: [ self installTemplate ].
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder ^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder

View File

@ -1,6 +1,6 @@
accessing accessing
hasTemplates hasTemplates
| templatesFolder | | templatesFolder |
templatesFolder :=(TweetsCollection dataStore / 'templates' ). templatesFolder :=(TweetsCollection dataStore / 'templates' ).
^ templatesFolder exists and: [ templatesFolder children isNotEmpty ] ^ templatesFolder exists and: [ templatesFolder children isNotEmpty ]