From 39b175384c72da275b31bdbe752b2cd06ff15499 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 23 Jan 2024 18:19:51 -0800 Subject: [PATCH] up readme --- packages/astro-ghostcms/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/astro-ghostcms/README.md b/packages/astro-ghostcms/README.md index 17a02378..43705b8f 100644 --- a/packages/astro-ghostcms/README.md +++ b/packages/astro-ghostcms/README.md @@ -13,9 +13,9 @@ Astro minimum Version: **Astro v4.0** -This Integration is 2 parts. Firstly, there is the API portion that uses the `@tryghost/content-api`[^1] to create the link between astro and GhostCMS. From there we move to the Second Part, which is a theme pre-programmed to pull ALL of its data from GhostCMS[^1] iteself instead of storing any data locally outside of Build. +This Integration is 2 parts. Firstly, there is the API portion that uses the `@ts-ghost/core-api`[^1] to create the link between astro and GhostCMS. From there we move to the Second Part, which is a theme pre-programmed to pull ALL of its data from GhostCMS[^1] iteself instead of storing any data locally outside of Build. -- *This package contains a independent copy of the tryghost content-api.js[^1] that is used to establish the connection so this package dose not depend on `@tryghost/content-api` package.[^1]* +- *This package contains a independent copy of the tryghost content-api.js[^1] that is used to establish the connection so this package dose not depend on `@ts-ghost/core-api` package.[^1]* - If you are looking for a more Customizable option please check [astro-ghostcms-basetheme](https://github.com/MatthiesenXYZ/astro-ghostcms-basetheme) - This project is not setup for SSR in Integration mode. As such is will most likely not function properly in that mode. You will need to build your own project around the API or customize the *basetheme* linked above. @@ -50,13 +50,12 @@ Then set your astro.config.ts to look like this: ```ts import { defineConfig } from "astro/config"; -import sitemap from "@astrojs/sitemap"; //optional but recommended import GhostCMS from '@matthiesenxyz/astro-ghostcms'; // https://astro.build/config export default defineConfig({ site: "https://YOUR-DOMAIN-HERE.com" - integrations: [sitemap(), GhostCMS()], + integrations: [GhostCMS()], }); ```