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
- Run
npm installto install dependencies - Run
npm run devto start the development server - Visit
/adminto access Decap CMS - Edit content in the CMS or directly in markdown files
- Deploy to Cloudflare Pages
Next Steps
Check out the documentation to learn more about: