temple icon indicating copy to clipboard operation
temple copied to clipboard

Concider adding pagination?

Open antranigv opened this issue 4 years ago • 1 comments

Hi! Temple is still my favorite Hugo template to this day, I run it on multiple blogs.

One of the features I feel it lags, is pagination, as in having 10/25/X number of posts on the main page(s) and add pagination.

This could be useful for people who have big blogs 100+ posts, might also be a nice way to add an (optional) summary later on if @aos agrees.

I don't know if this should be part of the template or Hugo itself.

Lemme know!

Thanks for creating Temple! :heart:

antranigv avatar Jan 09 '21 13:01 antranigv

Hi @antranigv -- thanks for the kind words :-)

That sounds like a great idea. Doing some cursory research, it looks like Hugo supports pagination out of the box. I haven't tested it out though. Also, I'm very busy at the moment so it will take me a while to get to this. I'll add some labels to this issue in case someone else wants to submit a PR.

aos avatar Jan 19 '21 06:01 aos