From b9ddbb3774610fa2dfd5d5206db5dc6330ef92fd Mon Sep 17 00:00:00 2001 From: Adam Matthiesen <30383579+Adammatthiesen@users.noreply.github.com> Date: Mon, 22 Jan 2024 03:45:15 -0800 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index df4ddfdf..17a02378 100644 --- a/README.md +++ b/README.md @@ -2,25 +2,28 @@ # Welcome to Astro-GhostCMS +*Ghost is a trademark of [The Ghost Foundation](https://ghost.org/trademark/). This project is not directly related to or provided by The Ghost Foundation and is intended to help create a easier method to utilize their provided JavaScript tools to link a Headless GhostCMS install in to your Astro project.* + - [Live Demo](https://demo.astro-ghostcms.xyz/) of the Astro-GhostCMS integration in action! - [Live Demo - Unlighthouse Test](https://test.demo.astro-ghostcms.xyz) for a Automatically updated Lighthouse test from every deploy! - [Live Demo's Repo](https://github.com/MatthiesenXYZ/astro-ghostcms-demo) for an example of how the setup looks. +- [Ghost.org](https://ghost.org) Get your own Ghost[^1] Install *Need help but don't have Github? Email us at [issues@astro-ghostcms.xyz](mailto:issues@astroghostcms.xyz) to create an issue here on github!* Astro minimum Version: **Astro v4.0** -This Integration is 2 parts. Firstly, there is the API portion that uses the `@tryghost/content-api` 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 iteself instead of storing any data locally outside of Build. +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 package contains a independent copy of the tryghost content-api.js that is used to establish the connection so this package dose not depend on `@tryghost/content-api` package.* +- *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]* - 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. -# Astro Integration Mode +## 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 +### Astro Add Installation ```sh # For fresh Install @@ -85,7 +88,7 @@ The routes are the same as a standard Ghost Blog so you can migrate to Astro eas | `/rss.xml` | All the posts, in a FEED | -# Manual Function Mode (DIY MODE) +## Manual Function Mode (DIY MODE) In this mode the integration will not deploy routes at all. you will have to build your own website to utilize the exported functions listed below. @@ -102,4 +105,9 @@ CONTENT_API_URL=https://ghostdemo.matthiesen.xyz **When you deploy your install dont forget to set the above ENVIRONMENT VARIABLES!** -For more information please check our website: [Astro-GhostCMS.xyz](https://astro-ghostcms.xyz) +For more information and to see the docs please check our website: [Astro-GhostCMS.xyz](https://astro-ghostcms.xyz) + +# Foot Notes & Credits + +[^1]: Ghost.org, Ghost.io, Ghost are all trademarks of [The Ghost Foundation](https://ghost.org/). This project is Open Source and not directly related to or provided by The Ghost Foundation and is intended to help create a easier method to utilize their provided JavaScript tools to link a Headless GhostCMS install in to your Astro project. +