diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-11-17 20:17:08 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-11-17 20:17:08 +0000 |
| commit | 3a97d1bd7a14815a503550c4deaccf2e0e300ceb (patch) | |
| tree | 029acb33de81f61b333cf294df2bccd1aa91cc31 /docs/narr | |
| parent | bce9fb87e15ec902e33280fbdbaf00c20a1ef1e1 (diff) | |
| download | pyramid-3a97d1bd7a14815a503550c4deaccf2e0e300ceb.tar.gz pyramid-3a97d1bd7a14815a503550c4deaccf2e0e300ceb.tar.bz2 pyramid-3a97d1bd7a14815a503550c4deaccf2e0e300ceb.zip | |
- Add chameleon text template API (chameleon ${name} renderings
where the template does not need to be wrapped in any containing
XML).
Prep for 0.4.9.
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/templates.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 4878e728c..48a9ac52e 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -136,6 +136,16 @@ application's configuration section, e.g.:: use = egg:MyProject#app reload_templates = true +Using Text Templates +-------------------- + +:mod:`repoze.bfg` also allows for the use of templates which are +composed entirely of non-XML text via :term:`Chameleon`. To do so, +you can create templates that are entirely composed of text except for +``${name}`` -style substitution points. The rendering API is a mirror +of the ZPT rendering facility, it's just imported from another place; +see :ref:`template_module` for more information. + Templating with other Templating Languages ------------------------------------------ |
