I’ve been doing some work to setup some basic websites (and moving my blog off of blogger). I really wanted to take advantage of a static site generator, and I wanted to utilize some of the best cheap hosting I could find (i.e. free). I know that I can point a custom domain to a GitHub Pages repository for nothing. GitHub Pages supports Jekyll as a static site generator - but I really didn’t want to have to go down the road of setting up Jekyll on my Windows machine (it runs on Ruby and I’ve had very little luck with all the Ruby Windows installation tools out there). I’m not against Ruby, and I have a Mac partition on my machine - but it’s not my primary working environment. What I really want is a site generator that runs on both platforms, like on NodeJS.
I’ll spare the intro to Hexo - but suffice it to say it’s one of the more (if not most) popular NodeJS-based site generators out there. It’s actively contributed to (from folks all over the world) - and I found it quite easy to grok once I got started. The Docs are pretty good, and I was able to pretty much completely move my blog and build a custom theme over the course of a couple evenings.
There were a number of things that helped me land on Hexo. For the most part it came down to:
- GitHub-Flavored Markdown support
- Official support for LESS
- Permalink-extensibility (so I could prevent broken links when migrating sites)
- Easily customizable themes
- EJS support (more on that below)
- Supported deployment story with Git and GitHub