On Mon, 2003-07-28 at 22:02, Dimitrie O. Paun wrote:
On July 28, 2003 08:04 pm, Jeremy Newman wrote:
NOTE to template authors, if you want to put a relative link in the site from now on, use {$root} to have the site put the correct path in for you. For example, <a href="{$root}/site/about">About Wine</a>. This also works for images: <img src="{$root}/images/foo.jpg">
And what's wrong with just <a href="/site/about">About Wine</a> ?
That works for the current site, but it will break on my testing machine where the site runs under another dir: /devel/site/about. Also, if someone wants to mirror the site, they may not put it at the root as well. I always try to use relative links for that purpose.