From: joey Date: Fri, 10 Mar 2006 02:42:11 +0000 (+0000) Subject: support browserless mode X-Git-Tag: 1.0~561 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2877f698959f410889f358409eff019be0863331;p=ikiwiki.git support browserless mode --- 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="$wikiname/ $pagelink"; $content="\n$title\n\n".