Posts per page

The Glide theme allows you to control how many posts appear per page on your homepage and archive pages such as tags and authors.

This setting is managed in the theme’s package.json file and does not require installing any dependencies or running Ghost locally.

Change Posts per Page

Follow the steps below:

1

Unzip the Theme

  • Unzip the theme glide.zip file on your computer.

2

Open package.json

3

Locate the config.posts_per_page Field

  • Find the following line inside the file:

    "config": {
      "posts_per_page": 8
    }
4

Update the Value

  • Change the number to your desired amount of posts per page.

  • For example, to display 16 posts per page:

    "config": {
      "posts_per_page": 12
    }
5

Save and Rezip the Theme

  • After editing, save the file and compress the theme folder back into a glide.zip file.

6

Upload the Updated Theme

  • In Ghost Admin, go to: Settings > Site > Theme > Change theme > Upload Theme yoursite.com/ghost/#/settings/theme

To safely edit the theme files, always use a code editor that supports UTF-8 encoding and JSON formatting, such as:

Last updated