summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xikiwiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index eba94cba2..c2d5e6475 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -210,7 +210,7 @@ sub finalize ($$) {
}
$path.="../";
}
- $path=~s/\.\.\///;
+ $path=~s/\.\.\/$/index.html/;
$pagelink="<a href=\"$path\">$wikiname/</a> $pagelink";
$content="<html>\n<head><title>$title</title></head>\n<body>\n".