@sod I think you might know the answer to this, so I’m asking; Would it make sense to make a plugin that could set the number of posts on each page, or should theme developers decide this per theme? (Or does Micro.Blog override this no matter what)?
@sod I think you might know the answer to this, so I’m asking; Would it make sense to make a plugin that could set the number of posts on each page, or should theme developers decide this per theme? (Or does Micro.Blog override this no matter what)?
@odd Yeah, it makes sense, and there's actually such a plug-in already: Paginate settings. The thing is, some themes ignore this setting. Even built-in ones, like Cactus. Maybe we should go through all the official themes, @manton, and make sure they respect the paginate
setting? And encourage third-party theme developers to do the same.
@sod Yoo-hoo! I wasn’t aware of that! I think I’m going to use it on my @auran account only to begin with. I’m (from today) using the Cards theme by @ericgregorich.
@pratik it’s getting better/less difficult as many Micro.blog specific stuff has been moved to its own partial template in the blank theme, making it less likely when porting you’ll miss something important. However, major modifications to a theme, especially its index page, is really hard to do in a general way. I could never do the way I list my posts as a plug in, for example. The structure of themes is far too flexible and thus variable. Hugo happens to build in a pagination default value used by a built in function that, provided the theme doesn’t explicit hand code in, will be adjustable for anyone even without a plugin with just a setting property. But some themes for their own reasons set the pagination by hand (for example, because it’s designed for a single post home page).