21 Mar 2015, 21:49

Hello World, This Is Purehugo!

Share

There are a lot of static site generators. And I’ve tried quite a few during my failed writing endeavours. But I can surely say that Hugo seems to be the best one yet. It’s super easy to use (after all it’s just a binary file), cross-platform and incredibly fast. All those things can be attributed to the go programming language and to the great developers that have written it and transformed it in an easy to use and quite powerful static site generator.

Sometime last May I discovered Hugo and started to look around for themes for it. There weren’t many and I went and made one myself. I tend to do that when learning to use a static-site generator because it’s a great way to see the capabilities of the platform, the drawbacks and generally how easy or complicated it is to use and develop for that platform. So I took an example layout from the Pure css library from Yahoo (a project that I really like because it’s light and looks nice and also can be painlessly integrated) and made a theme in a few hours in a weekend. The experience was easy and painless, I only remember struggling a bit with the date formatting.

I saw purehugo as an almost clear canvas, just pull the theme and customize it the way you need it. As Hugo moved along adding new features, some of them exciting (pagination and external data handling), I was thinking that I could make the theme a little bit more user friendly and easier to use. So, this last week I focused again on the theme and added some new features, working for a couple hours every evening: there’s syntax highlighting baked in (using rainbow.js), a Google analytics partial, Open Graph tags, Twitter card support, a share widget for posts (using jquery.prettySocial). I’ve also tried to make an asset pipeline of some sort using the amazing gulp.js.

All in all purehugo is now easier to use and has a little more features, but it’s still esentially a canvas. You can customize it in any way you see fit. So, if you’re using it, give me a shout on twitter, or if I can help you in any way you can come on over to the hugo community forum dedicated thread.

Purehugo on github

comments powered by Disqus