Table Of Contents
Here is my second lecture on Build Awesome (the static site generator formerly known as 11ty). Last week I built a portfolio for Dorothy Gale and found a folder of files behind the curtain. Now Dorothy has a new problem. Aunt Em wants to post news to the site, and Aunt Em has no wish to learn Git.
In L. Frank Baum's The Wonderful Wizard of Oz (1900), no one walks into the Emerald City with bare eyes. The Guardian of the Gates fits every visitor with green spectacles and locks them on with a key that he keeps. The Wizard later admits that the city is no greener than any other. The spectacles do the work. A content management system (CMS) is a pair of spectacles for your folder of files: it shows an editor forms and buttons where you see Markdown and front matter. I will argue that the right CMS for an 11ty site leaves the folder a folder, and that the question to ask of every CMS is who keeps the key, by walking through the four that my collaborators and I use or watch: Pages CMS (my favorite), Decap CMS (my second favorite, with a worry attached), Sveltia CMS (the up-and-comer), and 11tyCMS (the one to watch).
By the end you will have a working config for Pages CMS, a working admin folder for Decap, a plan for moving to Sveltia, and a list of live sites and public repositories to copy from. I checked the versions and dates below in November 2026. The Eleventy side of the samples builds cleanly on Eleventy 3.1.8, and the CMS configs are trimmed from sites I run or from each project's documentation.
What a Git-Based CMS Does #
Last week's site has no database. Posts are Markdown files in src/posts, and the host rebuilds the site whenever the repository changes. A Git-based CMS keeps that arrangement. When Aunt Em presses Save, the CMS writes a Markdown file into the repository as a commit, your host sees the commit, and the build you already set up does the rest. Remove the CMS tomorrow and the site still builds, because the files never left the folder.
The four differ in where they run and in who decides whether an editor gets in.
| CMS | Where it runs | What you add to the project | Who keeps the key |
|---|---|---|---|
| Pages CMS | A web app outside your site (hosted, or self-hosted) | One file, .pages.yml |
GitHub, plus email invitations for editors |
| Decap CMS | A page inside your site, at /admin/ |
Two files in an admin folder |
Netlify (Git Gateway), GitHub, or an OAuth service you run |
| Sveltia CMS | A page inside your site, at /admin/ |
The same two files | GitHub, GitLab, Gitea, or Forgejo |
| 11tyCMS | A desktop app on your computer | One settings file, _11tycms.json (the setup wizard writes it) |
No one. There are no accounts |
All four are open source. None of them asks you to change a template.
One piece of housekeeping first. A CMS that accepts image uploads needs a folder that Eleventy copies into the built site untouched. Create a public folder at the project root (beside src, and outside it) and add one line to last week's eleventy.config.js:
export default function (eleventyConfig) {
// ...last week's lines stay as they are...
// Copy everything in public/ to the root of the built site
eleventyConfig.addPassthroughCopy({ public: "/" });
}
A file at public/img/toto.webp now arrives at /img/toto.webp. Most of the sites listed at the end of this post use the same arrangement.
My Favorite: Pages CMS #
Pages CMS is an MIT-licensed CMS by Ronan Berder for sites whose files live on GitHub. It adds nothing to your built site (no admin page, no script tag, nothing for a visitor to download). You describe your content in one file at the root of the repository, .pages.yml, and you edit at app.pagescms.org or on a copy you host yourself.
I favor it for three reasons: 1) the whole integration is one file, and the file reads like the front matter it describes; 2) the CMS sits outside the site, so a broken CMS cannot break a build; and 3) you invite editors by email, so Aunt Em never needs a GitHub account.
Here is the smallest config I run. This one powers two of my link shorteners, aila.li and purl.im, and it is the entire file:
content:
- name: urls
label: Shortlinks
path: content/urls
type: collection
filename: '{primary}.md'
fields:
- { name: title, label: Title, type: string, required: true }
- { name: url, label: Destination URL, type: string, required: true }
Eight lines give an editor a list of shortlinks, a New button, and a form with two boxes. The content key holds a list of things to edit. A collection is a folder of entries, path points at the folder, and fields names the front matter keys, one form field each.
Dorothy's blog needs a little more. Create .pages.yml at the root of my-portfolio:
media:
input: public/img
output: /img
content:
- name: posts
label: Posts
type: collection
path: src/posts
format: yaml-frontmatter
filename: '{year}-{month}-{day}-{primary}.md'
exclude: [posts.11tydata.json]
view:
fields: [title, date]
primary: title
sort: [date, title]
default:
sort: date
order: desc
fields:
- { name: title, label: Title, type: string, required: true }
- { name: date, label: Date, type: date, required: true }
- { name: description, label: Description, type: text }
- { name: body, label: Body, type: rich-text }
settings:
commit:
identity: user
Three lines deserve a comment.
The media block tells the CMS where uploads go (input, a path in the repository) and what address to write into the post (output, a path on the site). The two differ because of the passthrough line above.
The exclude line connects to last week's lesson on directory data files. posts.11tydata.json sits in the same folder as the posts, and without exclude the CMS will list it as a post and offer to let Aunt Em edit your layout settings. Several of my configs carry the same line.
identity: user records each commit under the name of the person who made the edit, so the Git history tells you who changed what.
To start, commit the file, sign in at app.pagescms.org with GitHub, give the Pages CMS GitHub app access to the repository, and open it. Then invite your editors by email from inside the app. The configuration docs cover the rest, including type: file for a single file such as src/_data/metadata.json.
Pages CMS has two limits you should know before you commit. It works with GitHub and nothing else. And the hosted app is someone else's server, so the Guardian of the Gates is Pages CMS itself. If that arrangement bothers you, the project documents how to self-host it. Your .pages.yml stays in your repository either way.
My Second Favorite: Decap CMS #
Decap CMS is Netlify CMS under a new name (the rename came in February 2023). Where Pages CMS sits outside your site, Decap lives inside it. You add two files and your site grows an editing room at /admin/.
Create public/admin/index.html:
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Content Manager</title>
<!-- Needed only for the git-gateway backend -->
<script async src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body>
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
</body>
</html>
Then create public/admin/config.yml:
backend:
name: git-gateway
branch: main
media_folder: "public/img"
public_folder: "/img"
collections:
- name: "posts"
label: "Posts"
folder: "src/posts"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Description", name: "description", widget: "text" }
- { label: "Date", name: "date", widget: "datetime" }
- { label: "Body", name: "body", widget: "markdown" }
The folder sits in public, outside src, on purpose. Eleventy treats any .html file inside the input folder as a template and tries to render it. The passthrough line from earlier copies public/admin to /admin/ byte for byte. Run npm run build and you will find _site/admin/index.html and _site/admin/config.yml.
The config has the same three parts as the Pages CMS file, under different names: a backend (how the CMS reaches the repository), a media pair (media_folder in the repository, public_folder on the site), and collections with fields. Decap calls a field type a widget. One note on the last line: in April 2026 Decap introduced a richtext widget and deprecated markdown. The old widget still works, and most of my configs still use it.
On Netlify, the git-gateway backend takes three clicks. Enable Identity for the project, enable Git Gateway under the Identity settings, and invite Aunt Em by email. She signs in at /admin/ with a password and never sees GitHub. (Netlify's Git Gateway docs have the exact menu path.) To edit on your own machine, add local_backend: true to the top of the config and run npx decap-server beside npm run dev.
The worry: who keeps the key #
Git Gateway is the Guardian of the Gates in this story. It is a Netlify service that holds a GitHub token on behalf of editors who have no GitHub account, and it rides on Netlify Identity. The convenience is real. The key, however, belongs to Netlify.
On February 28, 2025, Netlify announced that Identity was deprecated. Existing sites kept working, but Decap users read the notice as the beginning of the end for Git Gateway, and the discussion on the Decap repository fills with people weighing replacements. A Decap maintainer wrote there that the project is "married to Netlify Identity" and that a divorce was overdue. Then, on February 19, 2026, Netlify reversed course and said Identity will remain a supported option.
I am glad of the reversal. My concern stands anyway, for two reasons. First, the post that announces the reversal never mentions Git Gateway by name, and the Decap discussion notes how long the gateway has gone without an update. Second, the year in between taught the lesson: one vendor's roadmap decided whether my editors could log in, and the vendor changed course twice. Nearly every Decap site I run uses git-gateway. If Netlify ever disables it, every one of those editing rooms locks on the same day.
Decap is moving. Since version 3.17.0 (October 2026) it includes Decap Turbo, a hosted service that lets editors sign in without a Git account or a Netlify Identity account. Decap describes Turbo as a SaaS upgrade for teams, and it comes with its own terms of service, so read the terms and the pricing before you treat it as the fix.
The exit I trust is the plain github backend. One of my sites, thenewpolis.com, already uses it with a small OAuth service of my own:
backend:
name: github
repo: your-org/your-repo
branch: main
base_url: https://your-oauth-service.example.com
auth_endpoint: auth
On Netlify you can drop the last two lines once you register a GitHub OAuth app in the Netlify dashboard, and Netlify does the handshake. The cost is plain: every editor now needs a GitHub account with write access to the repository. Aunt Em will have opinions.
The Up-and-Comer: Sveltia CMS #
Sveltia CMS is a rewrite of Netlify CMS from scratch, in Svelte, by Kohei Yoshino. The project began in November 2022 and appeared on GitHub in March 2023. It reads the same config.yml that Decap reads, and it presents itself as the successor to Netlify CMS: the README counts 400 issues from the Netlify/Decap tracker as solved, and the project has announced that it is feature complete. The releases still carry 0.x version numbers as I write, and they arrive often.
Sveltia answers the key question by refusing the Guardian. Its migration guide states that it does not support Git Gateway or Netlify Identity and does not plan to. That refusal is why Sveltia is the direction I am heading, and it is also why I have not moved a production site yet.
For a new site, the setup is Decap's setup with a different script tag. public/admin/index.html becomes:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex" />
<title>Sveltia CMS</title>
</head>
<body>
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script>
</body>
</html>
And public/admin/config.yml:
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
backend:
name: github
repo: dorothy-gale/my-portfolio
branch: main
media_folder: /public/img
public_folder: /img
collections:
- name: posts
label: Posts
label_singular: Post
folder: /src/posts
fields:
- { label: Title, name: title, widget: string }
- { label: Date, name: date, widget: datetime, type: date }
- { label: Body, name: body, widget: richtext }
The first line is a comment that tells your code editor where the schema lives, so an editor with YAML support (VS Code with the YAML extension, for one) can flag a typo in the config before you push it.
How I plan to get started #
I have a starter, 11ty-sveltia-pico (Eleventy, Pico CSS, and a Sveltia admin folder), and a theme, ebenezer, wired the same way. Both began from Dan Urbanowicz's eleventy-sveltia-cms-starter. What I lack is a migrated production site. Here is the plan, in order.
-
Fix my own starter first. Sveltia's getting started page lists mistakes to avoid, and my starter makes one of them: its script tag carries
type="module". The docs say to leave that attribute off, to skip any stylesheet link, and to leave the version unpinned. -
Pick one small site and read the compatibility list. The migration guide names what Sveltia leaves out (Git Gateway, the Identity widget, the local proxy server, and a handful of options). I will check one config against that list before I touch a file.
-
Swap the script tag. This step is the famous one-line migration:
-<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script> +<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script> -
Change the backend. For me this step is the real migration, because my sites sit on Git Gateway:
backend: - name: git-gateway + name: github + repo: your-org/your-repo branch: mainOn a Netlify-hosted site, the guide has you register a GitHub OAuth app and add it in the Netlify dashboard, with no
base_urlin the config. -
Remove the Identity widget. Delete the
netlify-identity-widget.jsscript fromadmin/index.htmland from the site's<head>, along with any snippet that uses thenetlifyIdentityglobal (mine lives in a footer partial). -
Delete
local_backend. Sveltia has its own local workflow and needs no proxy server, sonpx decap-servergoes too. -
Move the editors. Every editor needs a GitHub account with write access. For sites where that is too much to ask, I keep Pages CMS, whose email invitations solve the same problem. Sveltia's guide points to an add-on (Sveltia CMS Additions) for editors without GitHub accounts. I have not tested it.
If your site lives somewhere other than Netlify, the project also publishes Sveltia CMS Authenticator, a small Cloudflare Worker that handles the GitHub sign-in (its README says most setups no longer need it, so read that page first).
The One to Watch: 11tyCMS #
11tyCMS takes the question of the key and throws the lock away. It is a desktop application (Electron, React, and the Milkdown editor) by Jessie Heald. You install it, open the folder of your 11ty site, and edit posts in a rich text editor that runs on your own machine. There are no servers, no accounts, and no subscriptions. The app reads your posts and front matter straight from disk, and it runs your build and publish commands for you (in the README's example, the publish command is a git add, a commit, and a git push).
For a site that is "a folder of files," I find this design the most honest of the four. The CMS is a program that opens a folder.
The project reached public beta on January 28, 2026, and Beta 2 followed on March 9. The source lives on Codeberg. According to the README, 11tyCMS is designed around the structure of eleventy-base-blog: a content folder, one subfolder per collection with its directory data file inside, and an assets folder for uploads.
content/
├── assets/
└── posts/
├── posts.11tydata.js
└── leaving-kansas.md
A setup wizard asks where those folders are, and it saves the answers in a _11tycms.json file at the root of your site.
I call it the one to watch (and not yet the one to use) for three reasons: 1) the author describes it as early beta and tells you to keep backups; 2) the builds are not yet code-signed, so your operating system will warn you; and 3) the site lists Windows and Linux builds, and I work on a Mac. A local app also serves one editor at one computer. It will not give Aunt Em a login from her kitchen. For a personal site with a single author, that limit costs nothing.
Conclusion #
The Guardian of the Gates locked the spectacles on everyone, himself included, and after enough years the people of the Emerald City forgot they were wearing them. The trouble starts there. Each CMS in this post is a pair of spectacles over the same folder of Markdown, and each answers the question of the key differently: Pages CMS keeps it with GitHub and its own app, Decap (as most people run it) hands it to Netlify, Sveltia gives it back to your Git host, and 11tyCMS has no lock at all.
My advice follows from that. Start with Pages CMS if your editors are not developers. If you already run Decap on Git Gateway, you do not need to panic, but you do need a plan, and Sveltia is mine. And if the site is yours alone, download 11tyCMS on a spare afternoon and watch where it goes.
Several of the sites below already build with the Build Awesome v4 alpha under the new package name. Their CMS configs name folders and fields, never the generator, so the rename asks nothing of them. The folder stays a folder.
What is your favorite open source CMS? Tell me which one I left out, and what it gets right.
Sources #
- Pages CMS, home, configuration, and source
- Decap CMS, home, blog (Decap Turbo, the
richtextwidget), and Git Gateway backend - Decap CMS, "Netlify Identity is being deprecated" (GitHub discussion #7419)
- Netlify, "Deprecation of Netlify Identity" (February 28, 2025)
- Netlify, "Netlify + Auth0: Platform extensibility and Identity changes" (updated February 19, 2026)
- Netlify, Git Gateway documentation
- Sveltia CMS, home, getting started, migrating from Netlify/Decap CMS, and source
- Sveltia CMS, Sveltia CMS Authenticator
- Dan Urbanowicz, eleventy-sveltia-cms-starter
- 11tyCMS, home and source on Codeberg
- Jessie Heald, "11tyCMS" (project notes)
- Eleventy, passthrough file copy
Sites and Repositories #
Every repository below is public. Open the config file named in each heading and copy what you need.
Pages CMS (.pages.yml at the repository root) #
- Public Theology: publictheology.com and its repository
- Original Free Nations: originalfreenations.com and its repository
- American Indian Law Alliance: aila.ngo and its repository
- The Whitestone Foundation: thewhitestonefoundation.org and its repository
- Wild Globalization: wildglobalization.com and its repository
- Bleak Theology: bleaktheology.com and its repository
- Two link shorteners with the eight-line config: aila.li and purl.im
Decap CMS (look for admin/config.yml) #
- Journal for Cultural and Religious Theory: jcrt.org and its repository
- The New Polis: thenewpolis.com and its repository (the
githubbackend) - The New Polis journal: journal.thenewpolis.com and its repository (the config lives at
content/admin/config.yml) - Esthesis: esthesis.org and its repository
- LakeBack: lakeback.org and its repository
- American Indian Law Alliance: aila.social and its repository
- The Doctrine of Discovery Project: doctrineofdiscovery.org and its repository (the config lives at
src/admin/config.yml, and the page still loads the oldnetlify-cmsscript, which makes it my first candidate for the one-line swap)
Sveltia CMS (public/admin/config.yml) #
- 11ty-sveltia-pico, my starter
- ebenezer, a theme with a Sveltia admin folder
- eleventy-sveltia-cms-starter, Dan Urbanowicz's starter, where both of mine began
11tyCMS #
- None of mine yet. The source is on Codeberg, and I will add a site here when I have one.
Tags : digital-humanities indieweb smol-web how-to eleventy build-awesome cms
Webmentions
No webmentions yet.