I’ve decided to setup my blog again using Jekyll. I simply followed the instructions from the Jekyll website. The only thing I ended up doing was installing pygments

Installing pyments

sudo pip install pygments

Collecting pygments
/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading Pygments-2.0.2-py2-none-any.whl (672kB)
    100% |████████████████████████████████| 675kB 24kB/s 
Installing collected packages: pygments
Successfully installed pygments-2.0.2

I then generated a default.css file for the pygments syntax highlighting

pygmentize -S default -f html > css/pygments/default.css

and added it to my template _includes/head.html

The content looks like this

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>Setting up Jekyll</title>
  <meta name="description" content="I’ve decided to setup my blog again using Jekyll.I simply followed the instructions from the Jekyll website.The only thing I ended up doing was installing py...">

  <link rel="stylesheet" href="/testblog/css/main.css">
  <link rel="stylesheet" href="/testblog/css/pygments/defaults.css">
  <link rel="canonical" href="http://ddewaeletest.github.io/testblog/testblog/jekyll/update/2015/09/12/helloworld.html">
  <link rel="alternate" type="application/rss+xml" title="Davy's tech blog" href="http://ddewaeletest.github.io/testblog/testblog/feed.xml" />
</head>

conent….

def show
  @widget = Widget(params[:id])
  respond_to do |format|
    format.html # show.html.erb
    format.json { render json: @widget }
  end
end