odd
odd

@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)?

|
Embed
Progress spinner
sod
sod

@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.

|
Embed
Progress spinner
prealpinux
prealpinux

@sod it's a good idea, as some themes seem not to respect the paginate plugin settings

|
Embed
Progress spinner
odd
odd

@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.

|
Embed
Progress spinner
pratik
pratik

@sod does a checklist for theme developers exist? @odd

|
Embed
Progress spinner
manton
manton

@sod @odd Yeah, ideally all the built-in themes would support that.

|
Embed
Progress spinner
jsonbecker
jsonbecker

@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).

|
Embed
Progress spinner