ChristianK43 / astro-starter-ghost

A starter template to build lightning fast websites with Ghost and Astro

Home Page:https://astro-starter-ghost.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro - Starter Ghost

Netlify Status

A starter template to build super fast websites with Ghost and Astro

Live Demo: https://astro-starter-ghost.netlify.app/

Features

Using Astro latest versions

Currently using astro@v1.0.0-beta.73*

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
/[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

Ghost Casper theme and SCSS

Basic Ghost Theme converted from Handlebar version to this Astro version. CSS Classes are the same but the styles have been scoped to their respective components. It is in the process of being fully converted to SCSS.

Development Instructions

git clone https://github.com/PhilDL/astro-starter-ghost.git
cd astro-starter-ghost
yarn

# Development
yarn dev

# Production
yarn build

Ghost API Key

You will need to create a new integration in your Ghost backend and note the Ghost URL and Content API Key.

Then, for local developpement rename the .env.test to .env and fill it with the Ghost URL and API Key:

PUBLIC_GHOST_URL=https://astro-starter.codingdodo.com
PUBLIC_GHOST_KEY=831b7314fa8ce1807e0b98dc34

If you Deploy on Netlify, Vercel, etc you will have to set the same environement variables.

About

A starter template to build lightning fast websites with Ghost and Astro

https://astro-starter-ghost.netlify.app

License:MIT License


Languages

Language:Astro 79.3%Language:SCSS 14.8%Language:TypeScript 5.0%Language:JavaScript 0.9%