diff options
| author | Chris Beelby <cmbeelby@gmail.com> | 2011-01-28 15:09:13 -0500 |
|---|---|---|
| committer | Chris Beelby <cmbeelby@gmail.com> | 2011-01-28 15:09:13 -0500 |
| commit | 5f729e1c584eb647009a83a576715df7605eacb4 (patch) | |
| tree | 813c79f6ff2fbf05a74bd96156921465202f1918 /docs/narr | |
| parent | 7a2ab7108c567bdc792c4e8f999e6ef0dbf24917 (diff) | |
| download | pyramid-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')
| -rw-r--r-- | docs/narr/templates.rst | 8 |
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. |
