The following template languages are supported through the same common API:
Ssp
which is like a Scala version of Velocity,
JSP or Erb from Rails
Scaml
which is a Scala dialect of Haml for very DRY
markup along with the
Jade syntax
Mustache
which is a Scala dialect of Mustache for
logic-less templates which also work inside the browser using
mustache.js
All expressions inside
Ssp,
Scaml
and Jade benefit
from the full power and expressiveness of Scala plus they are typesafe and
checked at edit/compile time to ensure you don't leave any mistakes in your
templates.
Scalate 1.6.1 Highlights
Cross built against Scala 2.9 and 2.10.
Dropped support for Scala 2.8.
Append _[scala-version] tag to all artifact IDs to denote Scala binary compatibility.
support stripping newlines from output in SSP templates
Upgraded versions of scalamd and wikitext
Add pooling for pegdown
Make Pegdown filter a class so extensions can be configured
Changes to support OSGi with 2.10.0
Do not create ServletTemplateEngine for every view, reuse once created one. Invoke boot class.
Upgrade to latest jruby
Add a shutdown method on Compiler
Have ScalateView properly register its ServletRenderContext objects
Now that TemplateEngine uses a ScalaCompiler, it needs a method for shutting it down.
Reset scala Source before read to support multiple reads
Do not retry template compilation twice
Use buildhelper plugin to include src/main/scala as source dir
Fixed {children} macro to work with static web sites.
Made some classloader changes for running in an OSGi environment.
Refactored ConfExport Mojo so that it re-uses code from scalate-tool.
Add support for sass/scss @import
Added Less Filter and attempted to modify the sbt and Maven builds to match this and the previous Pegdown filter.
Added PegDown filter
selective scuery attribute updates (update attribute if it exists)
Upgraded axis-wsdl4j dependency from 1.2 to 1.5.1
Added —target-db switch to generate DocBook link database.
Refactored confexport command to use the libraries from the Confluence Command Line Interface (CLI).