Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A starter template to build completely static websites with Ghost as a headless CMS and Eleventy.
Eleventy Starter Ghost is a JAMstack boilerplate from the Ghost Foundation that pairs the Ghost publishing platform as a headless CMS with the Eleventy static site generator to produce a completely static website. The repository is marked deprecated and no longer maintained, but the code remains available for anyone who wants to build a fast, secure blog front-end backed by Ghost's admin interface.
Eleventy Starter Ghost is an open-source starter template that combines Ghost as a headless content backend with Eleventy (also known as 11ty) as the static site builder. It takes a Ghost Content API key and a .env configuration as its main inputs; the build process fetches posts, pages, and settings from Ghost and outputs a plain HTML/CSS/JS site suitable for any static host. The project includes a live demo at https://eleventy.ghost.org, and it was created by the Ghost Foundation under the MIT license.
yarn then yarn start to launch a dev server that pulls from the default Ghost install at https://eleventy.ghost.io or from your own site via .env.yarn build generates the final static site locally for custom deployments.yarn build or on Netlify.You start by cloning the repository and running yarn to install dependencies. Next, edit .env with your Ghost site URL and Content API key; the minimum Ghost version is 2.10.0. When you run yarn start, Eleventy fetches your content from Ghost and serves a static site locally. For production, either run yarn build and host the output anywhere, or deploy to Netlify and set up deploy hooks so Ghost rebuilds trigger automatically.
The repository header reads "Deprecated" and states "This project is no longer maintained," so there are no active updates. You can still use it as a starting point or fork it for your own projects.
Log in to Ghost Admin, go to the Integrations screen, and copy the Content API Key shown there. This key is not considered sensitive, so it's often committed in .env, though you can also store it as a Netlify environment variable for production builds.
Yes. Replace the default URL (https://eleventy.ghost.io) in the .env file with your own Ghost instance's URL and provide your Content API key. The starter will then pull content from your site during builds.
Enabling "Make this site private" in Ghost adds a password page to the Ghost front-end and sets a noindex meta tag. This keeps your Eleventy static site as the only public version, improving SEO because Ghost's default theme isn't indexed.
