Documentation
Guides

Examples

Three runnable examples are included in the forge GitHub repository. Each runs with git clone https://github.com/forge-cms/forge && cd example/<name> && go run .

example/blog

A devlog with seeded posts demonstrating the full content lifecycle.

FeatureWhat it shows
Content lifecycleDraft, Scheduled, and Published posts with automatic transitions
HTML templatesList and show pages with forge:head, Open Graph, Twitter Cards
RSS feed/posts/feed.xml and aggregate /feed.xml
SitemapAuto-generated, event-driven
AI indexing/llms.txt, /llms-full.txt, and per-post /aidoc
SignalsAfterPublish hook logging every publish event

View on GitHub →

example/api

A headless JSON API with role-based auth and a redirect manifest.

View on GitHub →

example/docs

A documentation site with AI indexing, /llms.txt, and AIDoc endpoints.

View on GitHub →