UnexpectedFeature / unexpectedfeature.github.io

0 stars 0 forks source link

Hexo Quick Guide

Commands

Run server

hexo server
## adding --draft will also show drafts
hexo server --draft

More info: Server

Makin posts

Writing Documentation

Making & publishing posts

# 1. Create draft
hexo new draft "title"
# 2. Edit
git commit -m "edited" & git push
# 3. Publish
hexo publish "title"
git commit -m "edited" & git push

Quick post process

# 1. Create post
hexo new post "title"
# 2. Edit post
# 3. Commmit & Push
git commit -m "edited" & git push

Other Links