📝 Source code for my website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


erictleung.github.io Build Status

Herein lies the source code of my website.

Table of Contents


  • Ruby (>= 2.1.0)
  • RubyGems
  • Jekyll (== 3.4.1)
gem install jekyll
gem install bundler

More information on using Jekyll and GitHub Pages can be found here. GitHub Pages has a list of their dependencies that can be found here.

Installation and Starting

# Setup
git clone https://github.com/erictleung/erictleung.github.io.git
cd erictleung.github.io
bundle install # Install dependencies

# Serve live site
bundle exec jekyll serve

# Serve site with draft blog posts
# https://jekyllrb.com/docs/drafts/
bundle exec jekyll serve --drafts

You can find more information about the static site generator, Jekyll, here. Jekyll uses various to help template information about, and here is a Jekyll cheat sheet.

Modified Theme

The theme for the site is modified from lanyon. A short description of it is:

Lanyon is an unassuming Jekyll theme that places content first by tucking away navigation in a hidden drawer. It's based on Poole, the Jekyll butler.

Inserting Images

I've created a small shortcut to help embed images more semantically.

{% include image.html
   alt="Put alt text here"
   caption="This is the caption for the image"