This is a very simplified version of my approach: I typically handle this by injecting a `cdn` variable into the default rendering environment, and then just having the templates reference
href="${cdn}/path/to/file" I specify the `cdn` var in the `.ini` file for the application. on startup, i load it into the registry and a few other places. On some projects, I have routine that preprocesses the templates for a handful of "global" variables. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/6ef9cf2d-5c65-4b5c-a534-555785bcc0f0o%40googlegroups.com.