Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Blog

A personal blog built with Astro, powered by Decap CMS for online editing and Giscus for comments.

Features

  • 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

Quick Start

npm install
npm run dev

Open http://localhost:4321 in your browser.

Build

npm run build
npm run preview

Configuration

Before 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

Project Structure

src/
  content/blog/     # Markdown blog posts
  layouts/          # Page layouts
  pages/            # Route pages
  components/       # Reusable components
  styles/           # Global styles
public/admin/       # Decap CMS config

License

MIT

About

blog

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages