Hi,

I'm at the time looking for an answer, searching at the same time. I
have an idea of the answer, but I need a confirmation of some of you
to be sure that it isn't a mistake.

If I add a file like that :

 <html xmlns="http://www.w3.org/1999/xhtml";
         xmlns:py="http://genshi.edgewall.org/";
         py:strip="">
     <!--! Add site-specific style sheet -->
     <head py:match="head" py:attrs="select('@*')">
       ${select('*')}
       <link rel="stylesheet" type="text/css"
             href="${href.chrome('site/style.css')}" />
     </head>
     <body py:match="body" py:attrs="select('@*')">
       <!--! Add site-specific header -->
       <div id="siteheader">
         My content
       </div>
      <div id="MYDIV"></div>
       <div id="main">
       ${select('*|text()')}
       </div>
     </body>
   </html>

Then if I save this file as site.html on the templates directory, will
my pages have the new div "MYDIV" between "mainnav", that is the
previous div of "main", and "main" ?
(This idea is based on this document:
http://genshi.edgewall.org/wiki/GenshiTutorial#AddingaLayoutTemplate)

I agree that some of you should think that this is stupid, but
knowledge don't come on a day, that's necessary to take the time to
don't do mistakes. I'll be happy if some of you are ok to answer.

Thank you,

Alvaro Costa

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to