On Sat, Jun 5, 2010 at 11:06 PM, Remy Blank <[email protected]> wrote: > Itamar O wrote: >> I want to have multiple environments with a shared stylesheet. >> So I set the [inherit] templates_dir = ... and put my site.html there. >> But I'm still confused as to where to put my shared style.css >> and how to specify its location in the site.html. >> The example in [1] uses ${href.chrome('site/style.css')}, >> but this refers to the env-specific htdocs, which is not what I need. > > You can create the stylesheet in a shared location, then add a symlink > to that file in the htdocs directory of each environment. The stylesheet > can then be referenced with the "site/" prefix. Not very elegant, but it > works. Of course, this is somewhat more difficult to achieve on Windows. > > -- Remy > >
I am on Windows. How would I achieve this? I assumed there would be some [inherit] htdocs_dir = ... that I missed. -- 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.
