HTML JavaScript CSS Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
blog
blogChat @ 5e9bae7 backup Aug 31, 2017
databackup backup Mar 1, 2018
hexo-admin backup Feb 25, 2018
reading @ bd41e33 modify Mar 8, 2017
writer backup Feb 23, 2018
wx backup Jun 19, 2018
.gitignore modify Jun 2, 2017
.gitmodules modify Mar 8, 2017
LICENSE modify Apr 27, 2016
Makefile backup Jun 19, 2018
README.md
bat.js backup Aug 29, 2017
index.html modify Apr 27, 2016
list.todone modify Apr 27, 2016

README.md

小胡子个人网站

小胡子哥

博客地址: http://www.barretlee.com.

Master 分支为博客系统的构建代码, gh-pages 分支为部署代码.

Makefile使用说明

还未做优化, 博客的 hexo 主题暂未发布.

====================A common Makefile for blog system=======================
Copyright (C) 2015 barret.china@gmail.com
The following targets are support:

 i --init             - init, run npm install
 r --run              - start local serve at http://0.0.0.0:4000
 d --deploy           - deploy project to gitcafe & github
 b --backup (P=)      - backup dates, push to git
                         make backup P=1; P->PUSH
 h --help             - show help info
 n --new (N=|P=)      - init new post
                         make new N=postname; N->NEW
                         make new N=postname P=1; P->PUBLISH

To make a target, do make [target], short for make [t]
============================== Version0.1 ==================================

博客说明

博客在 gh-pages 分支上,master 分支博客静态资源的生成程序。博客基于 hexo 构建,用到的相关 hexo 组件如下所示:

"hexo": "^3.1.0",
"hexo-deployer-ftpsync": "~0.1.1",
"hexo-deployer-git": "0.0.4",
"hexo-deployer-heroku": "0.0.3",
"hexo-deployer-rsync": "~0.1.1",
"hexo-generator-archive": "^0.1.2",
"hexo-generator-category": "^0.1.2",
"hexo-generator-feed": "~1.0.3",
"hexo-generator-index": "^0.1.2",
"hexo-generator-sitemap": "~1.0.1",
"hexo-generator-tag": "^0.1.1",
"hexo-migrator-rss": "~0.1.2",
"hexo-renderer-ejs": "^0.1.0",
"hexo-renderer-marked": "^0.2.4",
"hexo-renderer-stylus": "^0.3.0",
"hexo-server": "^0.1.2"

为了能够满足我自己的需求,在本地对其中部分 generator 插件做了改造。

由于 github 的访问速度在国内比较慢,所以网站部署在 gitcafe 上,这个可以在 blog/_config.yml 文件下看到具体配置。