Modifying templates test and installation
This commit is contained in:
parent
3d7cc8110c
commit
7ddbed96bc
@ -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
|
@ -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 ]
|
Loading…
Reference in New Issue
Block a user