Have you looked at Jinja2 ? You can customize the escape characters so
that it nearly looks like Mako (or Moustache). Not sure if it suits your
other needs, but it has pretty decent template inheritance and macros.
I'm prototyping some 'user editable templates' with Jinja2 and the sandbox
mod
Or maybe I should just ask, what are the remaining things you can do in
Chameleon that you can't do in Mako? I'm interested in the well-formed XML
guarantee and Pyramid's Chameleon internationalization support. But on the
other hand the Chameleon syntax is so different it's a large learning
curve,
Also, is there a way to make Chameleon put its compiled templates in a
different directory from the source? On my server the source directory will
be read-only at runtime. Or is there a command to precompile all templates
in one step?
--
You received this message because you are subscribed to the
Are there any good examples around of using Chameleon with a site template
macro? I normally make my sites by inheriting from a Mako template that
provides a standard and header/footer, with the page template
overriding the title, possibly adding stylesheet and Javascript links,
supplying data for