Moving Blog To Jekyll
Why have I started to migrate away from WordPress?
I have been wanting to blog more lately, but haven't really been able to effectively blog with WordPress. The biggest issue I have with WordPress are:
- the editor. In short it sucks1. It also doesn't handle markup like I would wish. Switching between the Visual and HTML tabs would often reformat my html. I have written about using Vim and Markdown with WordPress, but it is essentially one way and can't handle tags, categories, and embedded objects.
- posts and articles are trapped in a MySQL database. I also would like to have the ability to keep my posts locally and in a VCS. As the posts are stored in a database, version control and searching become rather tedious.
- seems like there are updates to plugins or the core about every week now. The system has become a bit bloated.
- I have been wanting to learn more about web development. I want to learn HTML and CSS at a basic level, not so much about themes.
Essentially this boils down to a workflow issue.
Why do I want to move to 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. This is also the engine behind GitHub Pages, which you can use to host your project.s page or blog right here from GitHub. I thought that this sound interesting. Static site, no MySQL, no PHP, could host the site almost anywhere. Static sites have no security holes. The only thing I wouldn't have is the comment system of WordPress, but I could use Disqus and be fine. Jekyll is also written in ruby, which I guess I need to learn anyway. In summary, the reasons I have decided to use Jekyll are:
- static site
- which implies more secure, less cpu overhead, and a faster site.
- documentation and examples
- Several people are already using this engine. The are several sample sites on github, many share the sources, which has proved to be helpful getting my blog setup.
I have already migrated all of the posts here. I am working on other blogs. Everything is still a bit rough around the edges, but I am working on that. What do you think of the layout so far?