From: joey Date: Tue, 14 Mar 2006 04:54:50 +0000 (+0000) Subject: ugly fix for parentlink back to top of wiki X-Git-Tag: 1.0~368 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e2e1badeaec77ad6a606d7ba96c2f4be3201a4a2;p=ikiwiki.git ugly fix for parentlink back to top of wiki --- diff --git a/ikiwiki b/ikiwiki index add627739..f95ea0f09 100755 --- a/ikiwiki +++ b/ikiwiki @@ -314,6 +314,7 @@ sub parentlinks ($) { #{{{ } $path.="../"; } + $path=~s!../!!; unshift @ret, { url => $path , page => $config{wikiname} }; return @ret; } #}}}