A personal blog built with Astro, powered by Decap CMS for online editing and Giscus for comments.
- Static site generated by Astro v6
- Online editor with Decap CMS (
/admin) - GitHub-based comments via Giscus
- Full-text search with Pagefind
- RSS feed
- Dark mode support
- Responsive design
npm install
npm run devOpen http://localhost:4321 in your browser.
npm run build
npm run previewBefore deploying, update the following files:
| File | What to change |
|---|---|
astro.config.mjs |
Set site to your domain |
public/admin/config.yml |
Set repo to your GitHub repo |
src/components/Giscus.astro |
Set repo, repoId, category, categoryId from giscus.app |
src/
content/blog/ # Markdown blog posts
layouts/ # Page layouts
pages/ # Route pages
components/ # Reusable components
styles/ # Global styles
public/admin/ # Decap CMS config
MIT