summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-14 04:54:50 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-14 04:54:50 +0000
commite2e1badeaec77ad6a606d7ba96c2f4be3201a4a2 (patch)
tree3e5cf94c482b0dc65d04f321ff1d49f131942af5 /ikiwiki
parent1c4d4e1e0474b6ffd3b8e0213d8a4804a3597e34 (diff)
ugly fix for parentlink back to top of wiki
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki1
1 files changed, 1 insertions, 0 deletions
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;
} #}}}