From d4704d8bbb35f150b4cd354c196822da738d9519 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 25 Dec 2010 22:12:38 +0000 Subject: [PATCH] urlto: simplify the to='' special case to allow it to be made absolute --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) { -- 2.39.5