> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hedwik.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Post Per Page

> Control how many posts appear on archive pages and homepage sections by adjusting the posts_per_page setting and section-specific Handlebars files.

## **1. Changing the Global Posts Per Page Settings**

Ghost’s pagination system (blog, tag pages, archive pages, etc.) reads the number of posts to display per page from the **package.json** file inside your theme.\
To change this value, follow the steps below:

1. Open your theme folder and locate the **package.json** file.
2. Inside the file, find the `config` section where the `posts_per_page` setting is defined.

   ```
   "config": {
       "posts_per_page": 6
   }
   ```
3. Change this value to the number of posts you want to display per page.
4. **Save** the file.
5. If necessary, **re-zip** your theme and upload it back to Ghost.

***

## 2. Posts Per Page for Homepage Sections

The number of items shown in homepage sections (Latest Posts, Podcasts, Products, Projects, Readings) is **not controlled** by the global `posts_per_page` settings.\
Each section has its own limit set manually inside its respective partial file.

1. Go to your theme’s **partials** directory and open the files you need:

* `latest-articles.hbs`
* `latest-podcasts.hbs`
* `latest-readings.hbs`
* `latest-projects.hbs`
* `latest-products.hbs`

2. Inside these files, you'll find a `limit` parameter. This parameter determines how many posts appear in that specific section.

   ```handlebars theme={null}
   {{#get "posts" ...  limit="2" ...}}
   ```
3. Simply change the limit value, save the file, and re-upload your theme.

> **Note:**\
> Each limit value in Skalven is carefully chosen to maintain the best visual balance and layout.\
> Changing these numbers may negatively affect the overall design.
