summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-10 02:42:11 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-10 02:42:11 +0000
commit2877f698959f410889f358409eff019be0863331 (patch)
treea8308dc8ff7364a2a9a82da7299d5c20763acd7f /ikiwiki
parentb4a6a97534a9d956844ce112c2d3277c1f8104ae (diff)
support browserless mode
Diffstat (limited to 'ikiwiki')
-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".