/old.leesei.github.io

[Archived] My notes generated by Hexo. See source branch for source.

Primary LanguageHTML

leesei.github.io

This is a technical blog for me to organize my knowledge.
I was previously using Gists and My Gists (now down) for tags support.
But then I discovered Hexo which can do much more, and can be edited OFFLINE with my favorite editor.
So I switched to Hexo and uses Github pages for hosting.

Usage

# assuming node, npm and hexo-cli are properly installed
git clone https://github.com/leesei/leesei.github.io
# install dependencies
cd leesei.github.io; npm install
# fetch theme
git clone --branch leesei.github.io https://github.com/leesei/hexo-theme-freemind.git themes/freemind

# local serve
npx hexo clean && npx hexo server

# hexo-console-optimize is not working for 3.0
# hexo optimize
npx hexo clean && npx hexo generate && npx hexo deploy