Hi,

> My problem is that I need to add an additionnal div between the
> "mainnav" id and the "main" id.

Save the following template as site.html and Trac shows "Your content"
between <div id="mainnav" /> and <div id="main" />.


<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:xi="http://www.w3.org/2001/XInclude";
      xmlns:py="http://genshi.edgewall.org/";
      py:strip="">
  <py:match path="div[@id='main']" once="true">
    <div id="your-content">
      Your content
    </div>
    <div py:attrs="select('@*')">
      ${select('*|comment()|text()')}
    </div>
  </py:match>
</html>

-- 
Jun Omae <[email protected]> (大前 潤)

-- 
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