frog icon indicating copy to clipboard operation
frog copied to clipboard

Different (current-posts-per-page) for some tags?

Open toothbrush opened this issue 5 years ago • 3 comments

I like the fact that Frog automatically can paginate when there are more than n posts, set with the current-posts-per-page parameter. However, i'd really like to have the default, i.e. 10, posts with stubs on index.html, but be able to control whether on /tags/xyz.html pages this number might be different. Bonus points if each tag xyz and foo can have different values of current-posts-per-page. I can make this work for my situation by hacking my local Frog installation, but is there a more.. clean way of accomplishing this that i'm missing?

Apologies for all the obtuse questions. Believe it or not, i'm actually managing to make Frog work well for my purpose. Thanks again.

toothbrush avatar Jan 14 '19 12:01 toothbrush

Sorry to be slow to respond. Although I'm still keeping an eye on Frog, I haven't had much time lately to work on it, and don't have much of its code in my brain's L1 cache.

As a result I think hacking your local installation is probably the only option for the foreseeable future. Also I'm being pretty slow about pull requests that aren't simple bug-fixes, because I just haven't much time to think through bigger changes.

greghendershott avatar Jan 14 '19 21:01 greghendershott

Don't worry about the slowness, that's fine and understandable 🙂 I don't want to be the person who gets upset because the volunteer who already contributed a bunch of super useful software to the community isn't on 24/7 call 😄

I'll continue hacking my own installation then, with the risk of it diverging a bit from yours. That's fine though – after an initial period of teething issues i'm beginning to understand the codebase a bit, and my rusty Racket it slowly coming back to me.

Should this issue be closed, or left as a nice-to-have enhancement request? It's low-priority from my POV, because i've already hacked around the problem with a terrifying (cond ...) in my local Frog.

toothbrush avatar Jan 15 '19 02:01 toothbrush

Let's leave it open; I already tagged it as enhancement. :smile:

greghendershott avatar Jan 15 '19 03:01 greghendershott