support browserless mode

master
joey 2006-03-10 02:42:11 +00:00
parent b4a6a97534
commit 2877f69895
1 changed files with 1 additions and 1 deletions

View File

@ -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".