Hi all,

Following the description at 
http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
I can modify HEAD and BODY of my trac page.

I also followed the recipe at 
http://genshi.edgewall.org/wiki/GenshiRecipes/HtmlTransform
make some additional modifications. Using the py-script in the recipe
it works like a charm, but if I put the same template into site.html,
only the modifications for HEAD and BODY are applied.

To be more specific, this is my site.html:

<html xmlns:py="http://genshi.edgewall.org/"; py:strip="">

<head py:match="head" py:attrs="select('@*')">
  ${select('*|comment()|text()')}
  <link rel="stylesheet" type="text/css" href="${href.chrome('site/
style.css')}" />
</head>

<body py:match="body" py:attrs="select('@*')">
  <div id="wrapper" style="width: 97%;">
    ${select('*|text()')}
  </div>
</body>

<em py:match="strong">${select('*|text()')}</em>

</html>


The css is added as expected,
the content of the body is inside a wrapper, as expected,
but <strong>foo</strong> remains. I wold expect it to change into
<em>foo</em>.

Am I missing something?

cheers, Daniel

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