getpelican/pelican — pull request #605 by saimn (2012-11-29 20:59:49+00:00)
Title: Change the way to compute relative paths to avoid the leading `.././` when using  relative urls.

Change the behavior of the `get_relative_path` function to return `..` instead of `../.` (for example).
To check the result, I modified the basic and custom outputs with a sed script (to avoid generating the output with pelican).