The code for my blog.
This is a Jekyll site hosted for free using GitHub Pages and Cloudflare free tier.
I publish this site by simply pushing to my repository, letting GitHub Pages' default Jekyll build do the rest.
This means I'm limited to what's in Jekyll, GitHub's mandatory plugins and supported plugins, which works fine for me at the moment.
$ sudo apt-get install ruby-dev # Install Ruby, Gems and development tooling for building gems
$ sudo gem install jekyll # Install Jekyll
$ sudo gem install jekyll-coffeescript jekyll-default-layout jekyll-gist jekyll-github-metadata jekyll-optional-front-matter jekyll-paginate jekyll-readme-index jekyll-titles-from-headings jekyll-relative-links # Install jekyll and all the default plugins for GH pages
$ sudo gem install jekyll-redirect-from # Also install jekyll-redirect-from, which is used in this site
$ jekyll serve # Run the site
(If you get errors, you might need to remove kramdown
, or all of ruby
, and start again).
Now the site should be running on http://127.0.0.1:4000.
My code and writing are public domain, use them however you wish.