I got my github.io page finally cranking out pages with Jekyll. Here is a brief rundown of what it does, why it’s baller, and how you can get your own going quickly. You should definitely get one started today, it’s free.
WTF is Jekyll?
Essentially Jekyll translates your plain text into static websites and blogs. You can use Markdown or Textile to write your posts and pages, and out comes a static site. There is no database to mess with, although you can use collections to store your data. It has a really awesome template language called Liquid that let’s you do stuff like this (an example from my own menu):
Get Your Repo
Follow the instructions over at github.io to get your repo started, cloned locally and goin. If you are ADD and want the short version just do this:
- Go create a repo named
username.github.io
where username is, well, your username. git clone https://github.com/username/username.github.io
- Finally, to get it going,
Setup Jekyll
Go into your username.github.io
directory and do the following:
Create a file named Gemfile
with the following contents:
Then to install it all and get it serving locally
Create a Post
If you don’t have one already, go into /_posts/
and create a markdown file. For more instructions head over to the Jekyll Now repository on GitHub.
Do More
To get a really good idea of how to get templating and such going, and if you are like me and learn by seeing a working example and then copying the parts you like, go to my .io repo.