panr / hugo-theme-hello-friend

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!

Home Page:https://github.com/panr/hugo-theme-hello-friend/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pagination problem

imgalone opened this issue · comments

Hello,

I was trying to update to the latest stable version of the theme when I noticed a bug with the pagination system. I can't seem to find the problem on my own, so I am submitting this bug here. In my page config file I have set up paginate = 5, and on my devblog section ( https://www.imgalone.com/devblog/ ) where I have 9 posts this isn't working properly. A button with older posts appears, but the pages contain all nine posts instead of 5 on one page and 4 on the other.

These devblog posts are not of type "posts", but "devblog":

      [[languages.en.menu.main]]
        identifier = "devblog"
        name = "Devblog"
        url = "/devblog"

Thank you,
Iancu

It turns out that the theme is not bugged, but it was a problem resulting from my particular setup. However, I will leave this open due to some suggestions of improvement / simplification that were made.