Hacker News new | ask | show | jobs
by _b8r0 4788 days ago
Jekyll's all well and good but after a lot of deliberation I settled on Nanoc[1]. Most of the static generators seem much of a muchness, at one point I was almost ready to roll my own in python with Jinja2.

[1] - http://nanoc.ws/

2 comments

Also, I can't resist but to mention hakyll[1]. I switched from nanoc to hakyll[2]. The two of them are great to use.

[1] - http://jaspervdj.be/hakyll/

[2] - http://yannesposito.com/Scratch/en/blog/Hakyll-setup/

I also found that these generators are heavier than what my small blog needed.

A few months back I tried migrating from WordPress to Jekyll. A week or two after that I tried moving from Jekyll to OctoPress. I wasn't happy with either solution, so I wound up rolling my own in Python.

In three hours of work on a spare weekend, I had everything converted to my own static generator. It compiles and deploys new posts in under two seconds. It does takes longer if you make style changes, because it will then recompile Bootstrap.

If you are interested in writing your own, then check out the markdown module for Python (https://pypi.python.org/pypi/Markdown). Everything else was standard Python to generate the blog, and Bash scripts to deploy it.