bjazmoore wrote:
candidexmedia wrote:
This blog post should also help: https://cv.domagic.site/posts/alternative-post-template-with-filter-for-publii-cms
The blog post was most helpful, and I have the blog list working with one exception. It will not paginate. I can tell that the paginate hbs file is being included but suspect the context it is being used in is causing an issue. I am not really sure what is happening in the code though – so not sure what I should be looking at.
I am attaching my custom post-bloglist.hbs file so you can see what I have done. I have not altered any other files.
I am using the default theme – Simple
post-bloglist
So I was doing some reading and came across this snippet in the documentation:
Homepage, tag, and author pages support pagination. It is based on a few global variables and helpers. You can use pagination not only for creating pagination links, but also for a link with `rel=”prev”` or `rel=”next”` attributes.
I added some code to return the value of @pagination just to be sure. It is false. Is there any way to get Publii to paginate a file other than Homepage, tag and author?
Thanks