Kim Rudolph

Setup Jekyll as a Blog Generator

This site runs on GitHub and is generated by jekyll.

How to set it up is explained at the GitHub help pages.

Using rvm, the following steps will help:

$ gem install jekyll
$ ln -s ~/.rvm/gems/ruby-1.9.3-p286/gems/jekyll-0.11.2/bin/jekyll /usr/bin/jekyll

Code Highlighting

A little bit more work has to be done to get code highlighting up and running.

Install the dependencies and generate the styles

$ sudo apt-get install python-pygments
$ pygmentize -S default -f html >  assets/css/pygments.css

Replace the default theme with any available styles listed via pygmentize -L styles if the colors are ‘too colorfull’.

And test the configuration.

def foo
  puts 'foo'
end

Custom Domain

If you link a TLD to your page as described on the GitHub Pages Domain Help, remember to add A records (Prio 0) for mail/smtp to your DNS to prevent E-Mails/SMTP pointing to GitHub.