This is a Next.js project bootstrapped with create-next-app
.
To run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To add the environment variables, create a .env.local
file in the root of the project.
The following values are needed:
GHOST_CONTENT_API_KEY
GHOST_API_URL
- this value should not have a trailing slash.GHOST_SITE_TAG
- we assume that you're using Ghost CMS for multiple sites and this value helps you identify posts for this specific site. It can be found in the tag setting on your Ghost CMS dashboard.
This project uses simple Analytics by default. If you would like to change that, remove the line below in app/layout.tsx
:
<Script src="https://scripts.simpleanalyticscdn.com/latest.js" />