Ghost Config
Essence
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": 8,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"24": {
"width": 24
},
"48": {
"width": 48
},
"400": {
"width": 400
},
"640": {
"width": 640
},
"1080": {
"width": 1080
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Scope
Ghost themes include a package.json file with predefined configuration. You can edit this file to change theme-level behavior like pagination and responsive image sizes.
Editing Theme Code is required to add these changes.
Posts per page
The posts_per_page value defines how many posts appear in the blog list before pagination. You can change it in the theme package.json file:
"config": {
...
"posts_per_page": 8,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"140": {
"width": 140
},
"200": {
"width": 200
},
"400": {
"width": 400
},
"600": {
"width": 600
},
"1200": {
"width": 1200
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Thoughts
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": 6,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"20": {
"width": 20
},
"40": {
"width": 40
},
"80": {
"width": 80
},
"100": {
"width": 100
},
"200": {
"width": 200
},
"320": {
"width": 320
},
"560": {
"width": 560
},
"800": {
"width": 800
},
"1100": {
"width": 1100
},
"1300": {
"width": 1300
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Feed
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": 6,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"20": {
"width": 20
},
"40": {
"width": 40
},
"80": {
"width": 80
},
"100": {
"width": 100
},
"200": {
"width": 200
},
"320": {
"width": 320
},
"560": {
"width": 560
},
"800": {
"width": 800
},
"1100": {
"width": 1100
},
"1300": {
"width": 1300
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Moment
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": 12,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"36": {
"width": 36
},
"46": {
"width": 46
},
"72": {
"width": 72
},
"92": {
"width": 92
},
"200": {
"width": 200
},
"300": {
"width": 300
},
"400": {
"width": 400
},
"600": {
"width": 600
},
"1200": {
"width": 1200
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Aspect
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": 12,
...
}We recommend using the following values only, because our theme designed to show and hide some posts in grid on Homepage automatically based on the screen size:
6- single row12- 2 rows18- 3 rows24- 4 rows
Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"36": {
"width": 36
},
"46": {
"width": 46
},
"72": {
"width": 72
},
"92": {
"width": 92
},
"200": {
"width": 200
},
"300": {
"width": 300
},
"400": {
"width": 400
},
"600": {
"width": 600
},
"1200": {
"width": 1200
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
OnFlow
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": 8,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"32": {
"width": 32
},
"70": {
"width": 70
},
"120": {
"width": 120
},
"320": {
"width": 320
},
"500": {
"width": 500
},
"800": {
"width": 800
},
"1000": {
"width": 1000
},
"1200": {
"width": 1200
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.
Thesis
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, 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.
Format
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": 8,
...
}Image sizes
Ghost can handle responsive image sizes, and this is defined in the package.json file, under the image_sizes property:
"config": {
...
"image_sizes": {
"32": {
"width": 32
},
"70": {
"width": 70
},
"120": {
"width": 120
},
"320": {
"width": 320
},
"500": {
"width": 500
},
"800": {
"width": 800
},
"1000": {
"width": 1000
},
"1200": {
"width": 1200
},
"1600": {
"width": 1600
},
"2000": {
"width": 2000
}
},
...
}The image sizes defined there will be used to generate copies of images at the specified sizes when uploading images in Ghost Admin.