Skip to content

pq1949/hexo-theme-huxblog

 
 

Repository files navigation

Hexo-Theme-Huxblog

Ported Theme of Hux Blog, Thank Huxpro for designing such a flawless theme.

Usage

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!

1.Init
git clone https://github.com/Kaijun/hexo-theme-huxblog.git
cd hexo-theme-huxblog
npm install
2.Modify

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!

3.Writting/Serve/Deploy
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!
4.Enjoy!

Please Star this Project if you like it! Following would also be appreciated!

5. New Computer To Deploy?

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仓库

About

🚙 Ported Theme of Hux Blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • EJS 53.0%
  • CSS 22.4%
  • JavaScript 9.6%
  • HTML 9.0%
  • Stylus 5.5%
  • Shell 0.5%