This is the source code for Andy's Blog.
main: Contains the source code (Markdown files, themes, configurations).gh-pages: Contains the generated static files (HTML, CSS, JS) served by GitHub Pages.
- Create a new post:
hexo new "My New Post" - Edit the Markdown file in
source/_posts/.
hexo clean && hexo serverVisit http://localhost:4000/ to see changes.
Always keep your main branch updated with your source code.
git add .
git commit -m "feat: add new post about XYZ"
git push origin mainThis updates the actual website.
hexo clean && hexo generate && hexo deploy- Node.js: v22.x
- Hexo CLI:
npm install -g hexo-cli
npm install- Theme: Redefine v2.8.5
- Framework: Hexo 8.1.1
- Visitor Count: Powered by Vercount