installation
install hexo
npm install -g hexo-cli
initial blog project
hexo init blog
install theme
cd your-hexo-site
npm install hexo-theme-next
install photo plugin
npm install hexo-asset-image --save
setting hexo ./_config.yml
1 | theme: next |
setting theme next ./themes/next/_config.yml
1 | scheme: Gemini |
change /node_modules/hexo-asset-image/index.js
1 | ; |
create new post
hexo new post {your title}
add a photo
move your photo {photo name} to ./source/{your title}/ directory.
in ./source/_post/{your title}.md file, link it by the code follow:

tutorial
about this project
branch dev
is hexo project
branch main
is post source which publish by hexo
usual command
- local test:
hexo s
- clean:
hexo clean
- build:
hexo g
- deploy:
hexo d
- build & deploy:
hexo g -d