Back to all projects

Company site with a git-based CMS

A static marketing site edited by a non-technical team through an admin panel, no database.

Role
Web engineer
Year
2024

Problem

The marketing team needed to edit copy, add case studies, and publish articles without waiting for a developer. A conventional CMS meant another server, a database, and a monthly maintenance bill.

Approach

  • Content as files. Articles and pages are Markdown in the repository, so the edit history is the Git history.
  • An editor on top of Git. Decap CMS provides comfortable forms; each publish becomes a commit that triggers a build.
  • Fully static. No database, no application server; pages are served from the edge.
  • Restricted access. The admin panel sits behind Cloudflare Access, limited to specific emails.

Outcome

  • The marketing team publishes without developer involvement.
  • Hosting cost stays at zero because every page is static.
  • Builds finish in under a minute, with previews via pull request.

Lessons

The hardest constraint was habit, not technology: editors need a short briefing on frontmatter structure so they don’t delete required fields. An illustrated guide inside the admin panel removed most of the questions.