projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4321b30
)
bugfix
author
Joey Hess
<joey@kitenet.net>
Sat, 24 Apr 2010 23:50:23 +0000
(19:50 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sat, 24 Apr 2010 23:50:23 +0000
(19:50 -0400)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index c218ed8ab037bd7f5ca65aad6dc45d70ce19a709..c2cadd35f02c9f5a005ae915bb62fca4b1fa9693 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-1654,7
+1654,7
@@
sub saveindex () {
sub template_file ($) {
my $name=shift;
- my $tpage=($name =~
/^\
//) ? $name : "templates/$name";
+ my $tpage=($name =~
s/^\/
//) ? $name : "templates/$name";
if ($name !~ /\.tmpl$/ && exists $pagesources{$tpage}) {
$tpage=$pagesources{$tpage};
$name.=".tmpl";