Posts_per_page does not work (post attempt 2)

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL? This is the easiest way for others to debug your issue
    https://contentpk.com
  • What version of Ghost are you using?
    3.0.2
  • What configuration?
    default
  • What browser?
    Chrome and Firefox
  • What errors or information do you see in the console?
    None
  • What steps could someone else take to reproduce the issue you’re having?
    Please load the main page and you will see articles more than 3 which shouldnt happen

You’re using the Casper theme, which features infinitescroll based pagination. You can see that when the page loads there are (correctly) 3 posts, and then 3 more are loaded in with JavaScript, and so on. This is expected behaviour.

If you don’t want infinitescroll based pagination, you can remove it from the default.hbs file and implement regular pagination:

This is fine then. Thanks for replying

I want this functionality now. When the user goes into a particular category (tag) then I wouldnt want to show all posts, I want to implement pagination there. Can I use {{pagination}} there

in tag.hbs