diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-13 12:49:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-13 12:49:31 -0400 |
commit | 24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6 (patch) | |
tree | 559dea489d311c2569281b0a75a66d883a46466d /IkiWiki | |
parent | 32a12f83f403ca5e1e2bfdb769b73141fab7f603 (diff) | |
download | ikiwiki-24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6.tar ikiwiki-24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6.tar.gz |
revert accidentially committed change
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 20c5f3bdd..715a3d652 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -570,9 +570,9 @@ sub genfeed ($$$$$@) { } } - my $file=$pagesources{$p}; - my $type=pagetype($file); if ($itemtemplate->query(name => "enclosure")) { + my $file=$pagesources{$p}; + my $type=pagetype($file); if (defined $type) { $itemtemplate->param(content => $pcontent); } @@ -591,7 +591,6 @@ sub genfeed ($$$$$@) { } } else { - next unless defined $type; $itemtemplate->param(content => $pcontent); } |