Open xsawyerx opened 8 years ago
The config.yml
file has a posts_on_page
setting, that is once used to set the value for $nr_of_rows
:
# lib/PearlBee/Posts.pm
my $nr_of_rows
= config->{'posts_on_page'} || 5; # Number of posts per page
So I'll do the following:
config->{'posts_on_page'}
everywhere it makes sense$pages_per_set
(i.e. add it to config.yml
)
A bunch of stuff are hard-coded.
$nr_of_rows
$pages_per_set