Steve Piercy
2013-10-12 3466f1383aceee2879702a88aefeaaa5a56855ad
Merge pull request #1158 from hariharan-uno/patch-3

Spell mistake corrected
1 files modified
4 ■■■■ changed files
docs/narr/templates.rst 4 ●●●● patch | view | raw | blame | history
docs/narr/templates.rst
@@ -524,7 +524,7 @@
Using A Chameleon Macro Name Within a Renderer Name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sommetime you'd like to render a macro inside of a Chameleon ZPT template
Sometime you'd like to render a macro inside of a Chameleon ZPT template
instead of the full Chameleon ZPT template. To render the content of a
``define-macro`` field inside a Chameleon ZPT template, given a Chameleon
template file named ``foo.pt`` and a macro named ``bar`` defined within it
@@ -726,7 +726,7 @@
Using A Mako def name Within a Renderer Name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sommetime you'd like to render a ``def`` inside of a Mako template instead of
Sometime you'd like to render a ``def`` inside of a Mako template instead of
the full Mako template. To render a def inside a Mako template, given a
:term:`Mako` template file named ``foo.mak`` and a def named ``bar``, you can
configure the template as a :term:`renderer` like so: