diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:30:08 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 07:30:08 +0000 |
commit | 7e35ad2cd91a1abc20b7baff30d8c9e713e9d1e9 (patch) | |
tree | f2779a77975b8f9547911c2d8c8c5b6c903c8154 /IkiWiki/Plugin/aggregate.pm | |
parent | 9ae54f904af35f0c499180f27cab00d24093e62b (diff) | |
download | ikiwiki-7e35ad2cd91a1abc20b7baff30d8c9e713e9d1e9.tar ikiwiki-7e35ad2cd91a1abc20b7baff30d8c9e713e9d1e9.tar.gz |
when autogenerating a dir naem, include "feed/" in it
Diffstat (limited to 'IkiWiki/Plugin/aggregate.pm')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index c42884851..ba33a80aa 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -70,7 +70,7 @@ sub preprocess (@) { #{{{ $feed->{name}=$name; $feed->{sourcepage}=$params{page}; $feed->{url}=$params{url}; - my $dir=exists $params{dir} ? $params{dir} : IkiWiki::titlepage($params{name}); + my $dir=exists $params{dir} ? $params{dir} : "feed/".IkiWiki::titlepage($params{name}); $dir=~s/^\/+//; ($dir)=$dir=~/$IkiWiki::config{wiki_file_regexp}/; $feed->{dir}=$dir; |