Skip to content

Phoobobo/phoobobo.github.io

Repository files navigation

phoobobo's Blog

A Hexo blog powered by Butterfly theme, deployed on GitHub Pages.

Branch Usage

Branch Content Purpose
master Source code (Markdown + Hexo config) Edit posts, auto-deploys on push
gh-pages Compiled HTML Auto-generated, don't edit manually

Daily Workflow

  1. Edit source/_posts/*.md on master branch
  2. Push → GitHub Actions builds automatically
  3. Deploys to gh-pages
  4. GitHub Pages serves from gh-pages

Local Development

npm install           # Install dependencies
npx hexo server       # Preview at http://localhost:4000
npx hexo generate     # Generate static files

Commands

git checkout master           # Switch to source branch
git add . && git commit -m "..." && git push  # Push changes

Notes

  • Don't edit files in public/ directly (auto-generated)
  • Theme files are in themes/butterfly/
  • Add images to source/uploads/ or use external URLs
  • _config.yml is auto-generated from _hexo_config.yml during build

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors