At work I maintain and develop a number of sites with various content management systems (the majority being WordPress and ExpressionEngine). For my own site I wanted to geek out a bit and take the opportunity to try something different. A full blown CMS is overkill for what I needed so I decided to use a static site generator. There’s a bunch of great ones out there. I started playing with Octopress, which is awesome but ultimately I wanted something more bare bones and to create a design from scratch so I ended up going with plain jekyll.
Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server.
###Benefits of using a static site generator
- Speed Content management systems can be slow and you really have to spend time tweaking things to speed them up. Not having to deal with databases, piles of PHP, plugins, keeping things up to date, etc. is awesome. Servering static html files is about as fast and simple as it gets.
- Security No databases or server side code also means a lot less worrying about spam and security issues.
- The writing workflow is a joy, posts are written in Markdown in my favorite text editor.
- I’m trying to get into the groove of using version control in my projects, this was a great opportunity to utilize a more modern workflow using Git and GitHub. When I’m finished writing a post I run
jekyll serve, check the site locally then push & deploy.
- It’s fun and all the cool kids are doing it.
So here it is, you can take a look at the source here on github if you’d like.