Docs
Thesis
Ghost Config

Ghost Config

All ghost themes provides package.json file with predefined configurations. You can edit this file to change the theme configurations.

Editing Theme Code is required to add these changes.

Posts per page

The posts_per_page defines the number of posts that appear in the blog list until it's paginated. You can change it in the package.json file:

"config": {
    ...
    "posts_per_page": 10,
    ...
}

Image sizes

Ghost can handle responsive image sizes (opens in a new tab), and this is defined in the package.json file, under the image_sizes property:

"config": {
    ...
    "image_sizes": {
        "xxs": {
            "width": 32
        },
        "xs": {
            "width": 60
        },
        "s": {
            "width": 200
        },
        "m": {
            "width": 540
        },
        "l": {
            "width": 880
        },
        "xl": {
            "width": 1200
        },
        "xxl": {
            "width": 1600
        }
    },
    ...
}

The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.