0.准备工作
基础开通
Blog选型
hugo
基于Golang,速度极快的静态页面生成博客,http://gohugo.io/
jekyll 基于Ruby,生成静态HTML博客
Hexo 基于NodeJS,生成静态HTML博客
由于较熟悉nodejs所以选择Hexo作为基础博客系统
hexo 实际测试
#arch linux
npm install hexo --no-optional
#mac os x
brew install brew
ALL_PROXY=socks5://127.0.0.1:1080 brew install brew
http://ibruce.info/2013/11/22/hexo-your-blog/
缺点:版本控制混乱、插件社区不够活跃
hugo 实际测试
优点:generate速度快,主题多样,插件多样
FAQ:白屏幕
theme需要设置并下载到/themes文件内
hugo server -t
Important:源码与public静态页面分离
1.Make gh-pages the default branch
2.master for content(.md/project)
3.gh-pages for sites(.html)
FF.私密笔记
Hexo是静态页面,无法限制权限
因此,私密笔记暂时实用BitBucket的Private项目来记录,不借助任何博客系统,直接markdown记录上传.md文件
Linux编辑
Git访问https://ryanemax@bitbucket.org/ryanemax/note.git
Vim+Markdown插件
Android客户端
集成Git访问https://ryanemax@bitbucket.org/ryanemax/note.git
CodeAnyWhere GooglePlay下载
作者:ryanemax
微信关注:ryanemax (刘雨飏)
本文出处:https://romantic-hoover-f991f1.netlify.com/cookbook/pkm/blogforgit/
授权协议:
CC BY-SA 4.0