Feel free to fork. Please keep the author's link in the bottom.
lhzhang
How to detemine if jekyll running locally or in production site
Post server blog with github and gitcafe
Publish blog in Github and Gitcafe
Writing on GitHub Pages and Jekyll using Markdown