> For the complete documentation index, see [llms.txt](https://pinathemes.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pinathemes.gitbook.io/docs/wind/advanced/posts-per-page.md).

# Posts per page

You can control how many posts are displayed on your homepage and archive pages, such as tags and authors. This setting is configured in the theme’s `package.json` file and doesn’t require any additional tools or local Ghost setup.

### Change Posts per Page

{% stepper %}
{% step %}
Unzip the theme on your computer.
{% endstep %}

{% step %}
In the root folder, open `package.json` using a code editor (**Visual Studio Code**, **Cursor**, etc.).
{% endstep %}

{% step %}
Locate the `config.posts_per_page` field:

```json
"config": {
  "posts_per_page": 8
}
```

{% endstep %}

{% step %}
Change the value to the number of posts you want to display per page:

```json
"config": {
  "posts_per_page": 12
}
```

{% endstep %}

{% step %}
Save the file and compress the entire theme folder back into a ZIP file.
{% endstep %}

{% step %}
Upload the updated theme in Ghost Admin using (**Theme** → **Change theme** → **Upload theme**).
{% endstep %}
{% endstepper %}

### Recommended Tools

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

* [Visual Studio Code](https://code.visualstudio.com/)
* [Cursor](https://www.cursor.com/)

{% hint style="danger" %}
Avoid editors like Notepad or Word, as they may corrupt the JSON structure or introduce invalid characters.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://pinathemes.gitbook.io/docs/wind/advanced/posts-per-page.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
