diff examples/turbogears/markuptest/templates/master.html @ 80:e0957965553f trunk

* Improve template error messages * Add the recently added support for seect('@*') to the TurboGears example.
author cmlenz
date Thu, 13 Jul 2006 19:13:02 +0000
parents 448792ab1303
children 64ff134868c4
line wrap: on
line diff
--- a/examples/turbogears/markuptest/templates/master.html
+++ b/examples/turbogears/markuptest/templates/master.html
@@ -4,7 +4,7 @@
       py:strip="">
 <xi:include href="sitetemplate.html"><xi:fallback/></xi:include>
 
-<head py:match="head">
+<head py:match="head" py:attrs="select('@*')">
     <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
     <title py:replace="''">Your title goes here</title>
     ${select('*')}
@@ -18,7 +18,7 @@
     </style>
 </head>
 
-<body py:match="body">
+<body py:match="body" py:attrs="select('@*')">
     <div py:if="tg.config('identity.on', False) and not logging_in"
         id="pageLogin">
         <span py:if="tg.identity.anonymous">
Copyright (C) 2012-2017 Edgewall Software