projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524a78e
)
urlto: simplify the to='' special case to allow it to be made absolute
author
Simon McVittie
<smcv@debian.org>
Sat, 25 Dec 2010 22:12:38 +0000
(22:12 +0000)
committer
Simon McVittie
<smcv@debian.org>
Sat, 25 Dec 2010 22:54:54 +0000
(22:54 +0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 93d2c326d300209cf8f6af51905ec34bccd80b64..bbe1ad055b2935437c9d0ee6ccf76f8f51d6bf3d 100644
(file)
--- 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}) {