- Using by default the same convention seen in Ruby on Rails for opening and closing tags
<% 40+2 %>and<%= 40+2 %>.
- STT has new deprecated methods in favor of methods that are friendlier to Ride-based applications.
STT yield: aNamedPartialToYieldis nowSTT yieldUsing: aNamedPartialToYield.STT yield: aNamedPartialToYield on: aContextis nowSTT yield: aContext using: aNamedPartialToYield.
- Added smalltalkCI
- Added Codecov
- Added which Pharo versions are supported (currently only Pharo10)
- Adjusted the compilation so the templates can access instVars of the context directly as if they where a method of that object (which dinamically they are).
- This works
<div><st= firstName, ' ', answer asString></div> testCanAccessInstVarsOfTheContextandtestCanAccessInstVarsOfTheContextFromAPartialare coverage.
- Adjusted
STT yield:on:to allow rendering cases like this one<st= STT yield: 'shared/alerts.html' on: self alerts>whereshared/alerts.htmlhas alerts deeper in the partials sent in the rendering context.
- Added
README.mdand how-to guides: one to test it withTeapotand another one using it to make anhtmxbased Counter app.