aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-13 12:49:31 -0400
committerJoey Hess <joey@kitenet.net>2010-09-13 12:49:31 -0400
commit24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6 (patch)
tree559dea489d311c2569281b0a75a66d883a46466d /IkiWiki
parent32a12f83f403ca5e1e2bfdb769b73141fab7f603 (diff)
downloadikiwiki-24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6.tar
ikiwiki-24ff4a9e5f365854ebef59ca2ef99552fdc5b4a6.tar.gz
revert accidentially committed change
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/inline.pm5
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);
}