Skip to content

Latest commit

 

History

History

README.md

EmDash Starter Template (Cloudflare)

A general-purpose starting point for building sites with EmDash on Cloudflare Workers. Includes posts, pages, categories, and tags with minimal styling -- designed as a base you can build on rather than a finished theme.

Deploy to Cloudflare

What's Included

  • Posts with category and tag archives
  • Static pages via slug routing
  • Seed data with demo content
  • D1 database and R2 storage pre-configured
  • Dark/light mode support

Pages

Page Route
Homepage /
All posts /posts
Single post /posts/:slug
Category archive /category/:slug
Tag archive /tag/:slug
Static pages /:slug
404 fallback

Infrastructure

  • Runtime: Cloudflare Workers
  • Database: D1
  • Storage: R2
  • Framework: Astro with @astrojs/cloudflare

Local Development

pnpm install
pnpm bootstrap
pnpm dev

Deploying

pnpm deploy

Or click the deploy button above to set up the project in your Cloudflare account.

See Also