Ghost 5.54.1
or higher
The package.json file contains the basic configurations:
posts_per_page
- for setting the number of posts per page- responsive image sizes
- custom theme settings
The custom settings are available in the Ghost Admin under Settings > Design
To install the theme do the following:
- Upload the theme zip file in your Ghost Admin.
- check out the official guide for more details.
- Upload the
routes.yaml
file.
- Go to Settings > Labs > Routes
- Adjust the Custom Settings
- Custom settings are split into 3 categories: Site-wide, Homepage and Post
- Go to Setting > Design > Site-wide/Homepage/Post
For more details check out the official theme documentation.
The theme is built with TailwindCSS and Alpine.js. The development environment is based on Vite, the tasks can ran with npm scripts.
-
npm run dev
(vite build --watch & vite
) The dev script will start the development process, watching for changes and building. Thevite.config.js
file contains the main configuration for Vite. -
npm run build
(vite build
) The build script will start the build process. -
npm run test
(gscan . --verbose
) The test will test the theme using gscan the official Ghost test tool. -
npm run zip
The zip script will create a zip file in thedist
directory.
https://flair.brightthemes.com/