Uses Ghost as a headless CMS, with Eleventy pulling content at build time and outputting a fully static site
eleventy-starter-ghost — Eleventy Starter Template
By anythingcodes
eleventy-starter-ghost is an Eleventy-based static site starter that pulls content from Ghost as a headless CMS, generates a fully static site, and includes Netlify deployment configuration.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 2
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Pulls sample content from https://eleventy.ghost.io by default, and can switch to your own Ghost instance via Content API credentials in .env
Includes three Netlify deployment configuration files: netlify.toml, headers.njk, and redirects.njk, handling build settings, security response headers, and redirects respectively
Can work with the Ghost and Netlify integration to trigger rebuilds via a deploy hook when content changes
Provides an option to disable Ghost's default theme frontend and enable noindex, making the Eleventy frontend the SEO source
Template Details
This template is published on GitHub by anythingcodes under the MIT license. Its core approach is to treat Ghost as a headless CMS: Eleventy reads content from Ghost's Content API at build time and outputs a fully static site. By default, the template pulls sample content from the Ghost instance at https://eleventy.ghost.io; to connect your own site, you need to enter credentials in the .env configuration file, where the contentApiKey can be obtained from the Integrations page in the Ghost admin panel. The README states that using this template requires Ghost version 2.10.0 or higher.
The repository includes three Netlify-oriented configuration files: netlify.toml for build settings, headers.njk which generates default security response headers (output to /_headers), and redirects.njk for setting custom domain redirects (output to /_redirects). After deploying to Netlify, you can configure the Ghost and Netlify integration to trigger Netlify rebuilds via a deploy hook when Ghost content changes.
The template also offers an optimization option: enabling the "Make this site private" flag in Ghost settings disables Ghost's default Handlebars theme frontend, adds password protection to the Ghost instance, and outputs <meta name="robots" content="noindex" />, making the Eleventy-generated frontend the sole source for SEO.
In terms of usage limitations, the template relies on an external Ghost instance to provide content, so you need to prepare your own Ghost site and Content API credentials; the licenses for third-party assets such as demo images, fonts, and icons must be checked separately and cannot be judged solely based on the code's MIT license.
Is it right for your project?
Use Cases
- Sites that manage content with Ghost but want to publish purely static pages
- Building existing Ghost content into a static site with Eleventy and deploying to Netlify
- Projects that need unified security response headers and custom domain redirects for a static site
Suitable For
- Developers who already have a Ghost instance and can obtain Content API credentials
- Static site projects using Eleventy and planning to deploy to Netlify
- Teams that want content editors to work in the Ghost admin while the frontend is generated by a static build
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
After cloning the repository, run yarn to install dependencies, use yarn start to launch the development server, and yarn build to build the site locally
- 2
Edit the .env configuration file to enter your own Ghost credentials; the contentApiKey can be obtained from the Integrations page in the Ghost admin panel
- 3
The README states that using this template requires Ghost version 2.10.0 or higher
- 4
To deploy to Netlify, you can use the deploy button in the repository or configure it manually; the Content API Key is usually written directly into .env, but if you do not want to commit it to the repository, you can use Netlify environment variables instead
- 5
If you want the Eleventy frontend to be the sole source for SEO, enable the Make this site private flag in Ghost settings
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not mean external services or third-party assets are free.
Must comply with when using
- You are allowed to use, modify, commercialize, and distribute the code of this version for free.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- By default, content is pulled from the official demo Ghost instance at https://eleventy.ghost.io; you need to replace it with your own instance.
- You must have your own Ghost instance and obtain the contentApiKey from the Integrations page in the Ghost admin panel, then enter it in .env to use the template.
- Requires Ghost version 2.10.0 or higher; versions below this may not work properly.
- Deployment depends on a Netlify account and platform services; you need to register yourself and bear the corresponding service costs.
- Automatic rebuilds require additional configuration of the Ghost and Netlify integration and use of a deploy hook, which is an external service dependency.
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely based on the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
By default, the starter will populate content from a default Ghost install located at https://eleventy.ghost.io.
Original README
To use your own install, edit the `.env` config file with your credentials. You can find your `contentApiKey` in the "Integrations" screen in Ghost Admin.
Original README
The minimum required version for Ghost is `2.10.0` in order to use this starter without issues.
Original README
To deploy to your Netlify account, hit the button below.
Original README
https://github.com/anythingcodes/eleventy-starter-ghost/blob/master/LICENSEhttps://github.com/anythingcodes/eleventy-starter-ghost/blob/master/README.mdyou can set up a [Ghost + Netlify Integration](https://docs.ghost.org/integrations/netlify/) to use deploy hooks from Ghost to trigger Netlify rebuilds.
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- Partly documented · 68 / 100
- Technologies
- Eleventy
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2020-12-24
- Screenshot last checked
- 2026-10-02
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Eleventy as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Automatically checked against source and license rules; no manual editorial review.
Inspect the recorded source material
SHA-256: 41391bd8b968036bb6d1d81783c713f53e4872812e72d75d1281653383cb1c7f
2026-10-02T11:17:32.513Z
Source file / repository# Eleventy Starter Ghost A starter template to build completely static websites with [Ghost](https://ghost.org) & [Eleventy](https://www.11ty.io) **Demo:** https://eleventy.ghost.org  # Installing ```bash # From Source git clone https://github.com/TryGhost/eleventy-starter-ghost.git cd eleventy-starter-ghost ``` Then install dependencies ```bash yarn ``` # Running Start the development server ```bash yarn start ``` You now have a completely static site pulling content from Ghost running as a headless CMS. By default, the starter will populate content from a default Ghost install located at https://eleventy.ghost.io. To use your own install, edit the `.env` config file with your credentials. You can find your `contentApiKey` in the "Integrations" screen in Ghost Admin. The minimum required version for Ghost is `2.10.0` in order to use this starter without issues. # Deploying with Netlify The starter contains three config files specifically for deploying with Netlify. A `netlify.toml` file for build settings, a `headers.njk` file with default security headers set for all routes (builds to `/_headers` path), and `redirects.njk` to set Netlify custom domain redirects (builds to `/_redirects` path). To deploy to your Netlify account, hit the button below. [](https://app.netlify.com/start/deploy?repository=https://github.com/TryGhost/eleventy-starter-ghost) Content API Keys are generally not considered to be sensitive information, they exist so that they can be changed in the event of abuse; so most people commit it directly to their `.env` config file. If you prefer to keep this information out of your repository you can remove this config and set [Netlify ENV variables](https://www.netlify.com/docs/continuous-deployment/#build-environment-variables) for production builds instead. Once deployed, you can set up a [Ghost + Netlify Integration](https://docs.ghost.org/integrations/netlify/) to use deploy hooks from Ghost to trigger Netlify rebuilds. That way, any time data changes in Ghost, your site will rebuild on Netlify. # Optimising You can disable the default Ghost Handlebars Theme front-end by enabling the `Make this site private` flag within your Ghost settings. This enables password protection in front of the Ghost install and sets `<meta name="robots" content="noindex" />` so your Eleventy front-end becomes the source of truth for SEO. # Extra options ```bash # Build the site locally yarn build ``` # Copyright & License Copyright (c) 2013-2020 Ghost Foundation - Released under the [MIT license](LICENSE).
Explore similar templates
Compare previews and descriptions within the same stack and category.

eleventy-base-blog
The officially maintained Eleventy blog starter template, MIT licensed, includes posts, tag pages, archives, an about page, a 404 page, an Atom feed, and sitemap.xml, with per-page CSS bundling, syntax highlighting, and image optimization.
Eleventy · Blog

eleventy-garden
An Eleventy-based digital garden starter template for building a personal knowledge site organized through hyperlinks. It supports Roam-style double-bracket links, backlink display, and hover cards for backlinks.
Eleventy · Starter

eleventastic
Eleventastic is an Eleventy starter kit by Max Böck, used as the base for new 11ty projects. It integrates Sass, Webpack, SVG icon sprites, critical CSS, and HTML minification into the 11ty build without external steps.
Eleventy · Starter

neat-starter
An Eleventy-based static site starter template integrating Netlify CMS, Alpine.js, and Tailwind CSS. It provides a ready-to-run example site, a one-click Netlify deploy button, and an MIT-licensed codebase.
Eleventy · Starter

Eleventy-Starter-Boilerplate
An Eleventy-based blog starter template with Tailwind CSS, Webpack, PostCSS, ESLint, and Prettier, optional Netlify CMS, and built-in SEO metadata, sitemap, and 404 page.
Eleventy · Blog

eleventy-plus-vite
A static site starter combining Eleventy and Vite, with a live-reloading development server, Vite-based production post-processing, a PostCSS pipeline with Autoprefixer and cssnano, critical CSS inlining and asynchronous CSS loading, a web font loading strategy example, fluid typography, basic dark mode, an…
Eleventy · Starter
