[Bast-commits] r6046 - ironman/plagger/lib/Plagger/Plugin/Publish
penfold at dev.catalyst.perl.org
penfold at dev.catalyst.perl.org
Thu Apr 30 13:43:05 GMT 2009
Author: penfold
Date: 2009-04-30 14:43:04 +0100 (Thu, 30 Apr 2009)
New Revision: 6046
Modified:
ironman/plagger/lib/Plagger/Plugin/Publish/PagedPlanet.pm
Log:
Default pagesize = 20
Modified: ironman/plagger/lib/Plagger/Plugin/Publish/PagedPlanet.pm
===================================================================
--- ironman/plagger/lib/Plagger/Plugin/Publish/PagedPlanet.pm 2009-04-30 13:31:09 UTC (rev 6045)
+++ ironman/plagger/lib/Plagger/Plugin/Publish/PagedPlanet.pm 2009-04-30 13:43:04 UTC (rev 6046)
@@ -18,7 +18,7 @@
my $theme = $self->conf->{theme} || $self->conf->{skin} || 'default'; # 'skin' as backward compatible
my $file = File::Spec->catfile($theme, 'template', 'index.tt');
- my $pagesize = $self->conf->{pagesize};
+ my $pagesize = $self->conf->{pagesize} || 20;
my $entries = [ grep is_http($_->link), $feed->entries ];
my $pagecount = int((@$entries - 1) / $pagesize) + 1;
my $stash = $self->build_stash;
More information about the Bast-commits
mailing list