This site is hosted on Github and managed with Jekyll. If like me, you are getting started with Jekyll, I recommend using the Quickstart Guide after setting up your github.io repo. Once you download the sample Jekyll Bootstrap project, there are a few more things that you have to do:

1) gem install ‘github-pages’

2) Create a file named Gemfile and add these two lines:

source 'https://rubygems.org'
gem 'github-pages'

3) Create a github branch named gh-pages. According to the documentation, Jekyll looks for user content on the gh-pages branch and it looks for project code on the master branch. I’ve done this for now but I can see it becoming problematic.

4) Update _config.yml.

5) The last step is not obvious and seems to be a bug. When you download the sample project, the code is placed in a subdirectory of .github.io. When you push your code to Github it gives you an error stating that there is a problem with the css/main.scss file. I Googled the issue and found that a solution is to move all of the files up to the .github.io directory and remove the subdirectory.

I hope this helps!

Jekyll also offers support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll’s dedicated Help repository.