Articles on laoazhang.cn are in Markdown. Jekyll is used to generate the static HTML for the site, and the output is generated into a _site folder and served from Github pages.
We use Jekyll 1.4.2+ and Grunt to automate some tasks.
$ gem install jekyll
$ npm install -g grunt-cliNote: If you receive permission warnings, you may need to run the above tasks with sudo.
Run npm install to pull down dependencies.
Jekyll generates the static site in a folder named _site.
Once done, git commit them and push to master (no gh-pages) and Github builds the jekyll automatically.