News for hackers. Stuff that matters.
Re:Hugo: A Fast And Flexible Static Site Generator Built In ... by spf13 on Monday August 05, 2013 @09:38AM (#6159986)
I hadn't seen yours before. It looks good as well. I'd agree that Hugo is more opinionated (but not as opinionated as jekyll) and aimed at a broader audience.

It would be great to compare approaches to things and see if we can't share and improve both in the process.

The shortcodes feature impacts performance quite a bit as it's all runtime inspection, but I felt it was an essential feature. Even with it it's still fast enough that it still builds the entire site in what feels like realtime.

Re:Hugo: A Fast And Flexible Static Site Generator Built In ... by piranha on Monday August 05, 2013 @10:43AM (#6160379)
> It would be great to compare approaches to things and see if we can't share and improve both in the process.

Indeed. Do you track dependencies to not re-render things which were not changed?

> The shortcodes feature impacts performance quite a bit as it's all runtime inspection

Ha-ha, in gostatic you have this `inner-template` processor, which parses your page as go template and then renders it. Naturally, it slows down rendering a bit, but still it renders my site from scratch in 0.5s (~250 pages with some inner-templates, heh).