Set page_numfeeds only if feeds are being generated
parent
10a2895b3b
commit
74a56db8d6
|
@ -165,9 +165,11 @@ sub preprocess_inline (@) { #{{{
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$feednum=$knownfeeds{$feedid}="";
|
$feednum=$knownfeeds{$feedid}="";
|
||||||
|
if ($feeds) {
|
||||||
$page_numfeeds{$params{destpage}}=1;
|
$page_numfeeds{$params{destpage}}=1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
my $rssurl=basename(rsspage($params{destpage}).$feednum);
|
my $rssurl=basename(rsspage($params{destpage}).$feednum);
|
||||||
my $atomurl=basename(atompage($params{destpage}).$feednum);
|
my $atomurl=basename(atompage($params{destpage}).$feednum);
|
||||||
|
|
Loading…
Reference in New Issue