Private repository for content management and development of gerosalorenzo.com.
docu/
├── static/admin/ # Decap CMS configuration
│ ├── index.html # CMS interface
│ └── config.yml # CMS configuration
├── workers/oauth-proxy/ # Cloudflare Worker for OAuth
├── content/ # Hugo content (managed by CMS)
│ ├── blog/ # Blog posts
│ ├── series/ # Series pages
│ └── about/ # About page
├── docs/ # Documentation
│ ├── cms-setup.md # Setup instructions
│ ├── cms-testing.md # Testing guide
│ └── cms-development.md # Developer guide
└── themes/PaperMod/ # Hugo theme
This repository uses Decap CMS (formerly Netlify CMS) for content management.
-
Start Hugo server:
hugo server -D
-
Start Decap server:
npx decap-server
-
Access CMS:
- URL:
http://localhost:1313/admin - No authentication required in local mode
- URL:
- CMS URL:
https://gerosalorenzo.com/admin - Authentication: GitHub OAuth
- Workflow: Editorial workflow with review process
- Create/Edit Content → Status: Draft
- Review → Status: In Review
- Approve → Status: Ready
- Publish → Merges to main, triggers build
CMS (Browser) → GitHub OAuth → Cloudflare Worker
↓
GitHub API → Private Repo (this repo)
↓
GitHub Action → Public Repo
↓
Cloudflare Pages → Production Site
- Decap CMS: Content management interface
- Cloudflare Worker: OAuth authentication proxy
- GitHub Actions: Automated deployment
- Cloudflare Pages: Static site hosting
- Hugo: Static site generator
- CMS Setup Guide - Initial setup and configuration
- CMS Testing Guide - Testing procedures
- CMS Development Guide - Developer documentation
- Node.js 18+ (for decap-server)
- Hugo 0.147.0+
- Git
-
Clone repository:
git clone https://github.com/gerolori/gerosalorenzo.com-dev.git cd gerosalorenzo.com-dev -
Install decap-server:
npm install -g decap-server
-
Start development:
hugo server -D npx decap-server
-
Access CMS at
http://localhost:1313/admin
Located in static/admin/config.yml:
- Blog posts collection with all Hugo frontmatter fields
- Series collection for multi-part content
- Pages collection for static pages
- Editorial workflow enabled
- Media storage in page bundles
Located in hugo.yml:
- Theme: PaperMod
- Base URL:
https://gerosalorenzo.com - Build drafts in development mode
- Content published via CMS
- GitHub Action triggered
- Content synced to public repo
- Cloudflare Pages builds and deploys
hugo --minify
# Output in public/ directoryFor issues or questions:
- Check CMS Testing Guide for common issues
- Review CMS Development Guide for technical details
- Consult Decap CMS Documentation
Content in this repository is private and managed via CMS.
Public site content is deployed to gerosalorenzo.com.