summaryrefslogtreecommitdiff
path: root/docs/narr/templates.rst
diff options
context:
space:
mode:
authorChris Beelby <cmbeelby@gmail.com>2011-01-28 15:09:13 -0500
committerChris Beelby <cmbeelby@gmail.com>2011-01-28 15:09:13 -0500
commit5f729e1c584eb647009a83a576715df7605eacb4 (patch)
tree813c79f6ff2fbf05a74bd96156921465202f1918 /docs/narr/templates.rst
parent7a2ab7108c567bdc792c4e8f999e6ef0dbf24917 (diff)
downloadpyramid-5f729e1c584eb647009a83a576715df7605eacb4.tar.gz
pyramid-5f729e1c584eb647009a83a576715df7605eacb4.tar.bz2
pyramid-5f729e1c584eb647009a83a576715df7605eacb4.zip
Removed reference to Zope XML namespace since this is a Mako example. Also Mako in general does not require such well-formed documents and it is perhaps more accurate of a typical mako template to make the example very basic.
Diffstat (limited to 'docs/narr/templates.rst')
-rw-r--r--docs/narr/templates.rst8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst
index b97cc7be6..f50f6c173 100644
--- a/docs/narr/templates.rst
+++ b/docs/narr/templates.rst
@@ -733,12 +733,8 @@ look like:
.. code-block:: xml
:linenos:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
+ <html>
<head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${project} Application</title>
</head>
<body>
@@ -750,7 +746,7 @@ look like:
</html>
This template doesn't use any advanced features of Mako, only the
-``${squiggly}`` replacement syntax for names that are passed in as
+``${}`` replacement syntax for names that are passed in as
:term:`renderer globals`. See the `the Mako documentation
<http://www.makotemplates.org/>`_ to use more advanced features.