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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to