[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
webmaster@zope.org
webmaster@zope.org
Fri, 24 Jan 2003 10:26:37 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-64
---------------
Notice the new 'content' tag attribute in the 'tal' xml namespace.
This attribute says to "replace the *content* of this tag with the
variable 'template/title'". In this case, 'template/title' is the
title of the 'index_html' Page Template.
% Anonymous User - Jan. 24, 2003 10:26 am:
Rather than, "notice the new content tag attribute in the tal xml namespace...," how about:
"When you added the "tal:content" attribute to the <title> or <h1> tag, it instructed Zope to replace the
content of the tag with the variable, 'template/title'."