I have built a blog that shows only featured posts on the front page. The changes I made to index.hbs broke pagination, and I can not make it work again. Right now Esbens Hardenbergs blog shows the ten newest featured posts, and I’d like for Esbens Hardenbergs blog (Page 2) to show the next ten etc.
Right now /page/2/ gives a “[index.hbs] Cannot read property ‘hash’ of undefined” error 400.
I have some posts I’d like to reference later and have created an archive page for these un-featured posts.
Is there any way I can make pagination work with only my featured posts?
Thanks a lot, definitely a nicer way to go about this, I have changed my blog to do this instead. However, it does not solve my issue with pagination, as far as I can tell. When going to Esbens Hardenbergs blog (Page 2) I still get the error 400.
I’m having a different and super weird issue now, though: The front page works as expected, but a lot of the time, I will get the preview-link for a post at the automated slug, and it will fail when clicking. This happens on a tag collection page, for example: /tag/bookmarks/
I had a similar issue a while back with a 404 error. It just took a week or so for the changes I had made to propagate through the backend. It was odd and a little frustrating but it did go away after a while. Perhaps you are having the same issue? Let me know either way…
Thanks again, I kept digging and now it works. I tried to use the “fromPinboard” tag, but that never worked, however “frompinboard” seems to work just fine. It seems that the capital P somehow trips the system up.