summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 93d2c326d..bbe1ad055 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1140,7 +1140,7 @@ sub urlto ($;$$) {
my $absolute=shift;
if (! length $to) {
- return beautify_urlpath(baseurl($from)."index.$config{htmlext}");
+ $to = 'index';
}
if (! $destsources{$to}) {