summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-08-29 18:05:52 -0400
committerChris McDonough <chrism@plope.com>2012-08-29 18:05:52 -0400
commit3aeb794d49655e7cd81b7d553f0da275b0cde3a9 (patch)
tree74bca4cb153fe0a466db380b904d6b01faf98274 /docs
parentcc8962d5da32bb30bbfc37c96286282b5ed751ff (diff)
downloadpyramid-3aeb794d49655e7cd81b7d553f0da275b0cde3a9.tar.gz
pyramid-3aeb794d49655e7cd81b7d553f0da275b0cde3a9.tar.bz2
pyramid-3aeb794d49655e7cd81b7d553f0da275b0cde3a9.zip
close paren
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/templates.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst
index 656cf4773..5930bb379 100644
--- a/docs/narr/templates.rst
+++ b/docs/narr/templates.rst
@@ -542,7 +542,7 @@ Sommetime 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
-(e.g. ``<div metal:define-macro="bar">...</div>``, you can configure the
+(e.g. ``<div metal:define-macro="bar">...</div>``), you can configure the
template as a :term:`renderer` like so:
.. code-block:: python
@@ -554,8 +554,8 @@ template as a :term:`renderer` like so:
def my_view(request):
return {'project':'my project'}
-The above will render the ``bar`` macro from within the ``foo.pt`` template
-instead of the entire template.
+The above will render only the ``bar`` macro defined within the ``foo.pt``
+template instead of the entire template.
.. note::