Just read through that pdf. I'm mainly in agreement with his commentary
of the current field of template engines - though he does lose me a bit
on his 'StringTemplate is totally the best thing ever' conclusions
(his alternating table row colours example (9.2) especially looks like a
horribly
I would suggest to add the parameters individually to
the r:snippet
tag, and to allow a body to be defined:
r:snippet name=rounded-box class=whatever bg-color=blue
This is a parametrized snippet...
/r
Basically, featurewise it looks like what you're after is
I have to say that I'm pretty firmly against writing ERB in Radiant
pages. First and foremost, we have to remember that Radiant is a CMS.
Among the two most important features of a Rails based CMS (as
opposed to a regular Rails application) are the promise to your less
technically inclined users