Ported Theme of Hux Blog, Thank Huxpro for designing such a flawless theme.
I didn't publish it as a single theme folder because a few of the pages are added and modified manually, so you should manually create some extra folders in source
for the new pages and modify the _config.yml
if you only have the single theme folder.
So i just pushed the whole hexo project for your convenience, all pre settings and boilerplates are included, have a look and go ahead customizing your own blog!
git clone https://github.com/Kaijun/hexo-theme-huxblog.git
cd hexo-theme-huxblog
npm install
Modify _config.yml
file with your own info.
Especially the section:
deploy:
type: git
repo: https://github.com/Kaijun/hexo-theme-huxblog
branch: gh-pages
Replace with your own repo!
hexo new post IMAPOST
hexo serve // run hexo in local environment
hexo clean && hexo deploy // hexo will push the static files automatically into the specific branch(gh-pages) of your repo!
Please Star this Project if you like it! Following would also be appreciated!
git clone https://github.com/pq1949/hexo-theme-huxblog.git
npm install hexo-cli -g
npm install
sh new_post.sh "new article" // 添加新文章
sh deploy.sh //清空public文件夹 编译新文章到public文件夹 复制public文件夹内容到.deploy 文件夹 并提交到pq1949.github.io仓库 最后在把博客源文件提交到hexo-theme-huxblog仓库