diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:17:44 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:17:44 +0000 |
commit | 9ae54f904af35f0c499180f27cab00d24093e62b (patch) | |
tree | 66d2d35325213922b4c2380e0b934b28adf8ded6 /IkiWiki/Plugin | |
parent | 22adebe8adf9ddf2a064c54b9c1e4c0e8799907b (diff) |
fix
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index d59f84450..c42884851 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -253,6 +253,7 @@ sub add_page (@) { #{{{ # assign it an unused page my $page=$feed->{dir}."/".IkiWiki::titlepage($params{title}); + $page=lc($page); ($page)=$page=~/$IkiWiki::config{wiki_file_regexp}/; if (! defined $page || ! length $page) { $page=$feed->{dir}."/item"; @@ -310,7 +311,7 @@ sub remove_feeds () { #{{{ } #}}} sub pagefile ($) { #{{{ - my $page=lc(shift); + my $page=shift; return "$IkiWiki::config{srcdir}/$page.html"; } #}}} |