master
joey 2006-07-30 07:17:44 +00:00
parent 22adebe8ad
commit 9ae54f904a
1 changed files with 2 additions and 1 deletions

View File

@ -253,6 +253,7 @@ sub add_page (@) { #{{{
# assign it an unused page # assign it an unused page
my $page=$feed->{dir}."/".IkiWiki::titlepage($params{title}); my $page=$feed->{dir}."/".IkiWiki::titlepage($params{title});
$page=lc($page);
($page)=$page=~/$IkiWiki::config{wiki_file_regexp}/; ($page)=$page=~/$IkiWiki::config{wiki_file_regexp}/;
if (! defined $page || ! length $page) { if (! defined $page || ! length $page) {
$page=$feed->{dir}."/item"; $page=$feed->{dir}."/item";
@ -310,7 +311,7 @@ sub remove_feeds () { #{{{
} #}}} } #}}}
sub pagefile ($) { #{{{ sub pagefile ($) { #{{{
my $page=lc(shift); my $page=shift;
return "$IkiWiki::config{srcdir}/$page.html"; return "$IkiWiki::config{srcdir}/$page.html";
} #}}} } #}}}