Quick Start
For an always up to date version of this please check our [Docs]
Astro Integration Mode
In this mode, the addon will not be just an API, but will be a full Route takeover, there is plans to add more themes in time, but for now there is only the base Casper theme based on Ghost's main Theme.
Astro Add Installation
Dont forget to set your environment Variables!
You must also create 2 environment variables in a .env
file with the following:
Manual Installation
npm i @matthiesenxyz/astro-ghostcms
Then set your astro.config.ts to look like this:
Dont forget to set your environment Variables!
You must also create 2 environment variables in a .env
file with the following:
When you deploy your install dont forget to set the above ENVIRONMENT VARIABLES!
Created Routes
The routes are the same as a standard Ghost Blog so you can migrate to Astro easily.
Route | Content |
---|---|
/ |
Homepage with recents/features Blog Posts |
/404 |
404 Page |
/[slug] |
Post or Page |
/author/[slug] |
Author page with related posts |
/authors |
All the authors |
/tag[slug] |
Tag page with related posts |
/tags |
All the tags |
/archives/[...page] |
All the posts, paginated |
/rss.xml |
All the posts, in a FEED |