On 14 sep, 11:06, Jun Omae <[email protected]> wrote: > 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]> (大前 潤)
Thank you very much, Jun Omae ! I'll try it on a few time, then report the results here. Alvaro -- 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.
