Getting Started with Astro and Decap CMS

Learn how to set up a powerful static site with Astro and Decap CMS for content management.

Getting Started with Astro and Decap CMS

This is an example blog post to demonstrate the template capabilities.

Why This Combination?

Astro provides:

  • Blazing fast static site generation
  • Zero-JS by default
  • Component-based architecture
  • Built-in image optimization

Decap CMS provides:

  • Git-based content management
  • No database required
  • Easy to use admin interface
  • Direct GitHub integration

Features Included

This template includes:

  • Tailwind CSS for styling
  • Blog with markdown support
  • Static pages
  • Contact form placeholder
  • OAuth authentication for CMS access

Getting Started

  1. Run npm install to install dependencies
  2. Run npm run dev to start the development server
  3. Visit /admin to access Decap CMS
  4. Edit content in the CMS or directly in markdown files
  5. Deploy to Cloudflare Pages

Next Steps

Check out the documentation to learn more about: