3 ms·
Well, here is mine: https://github.com/piranha/gostatic https://github.com/piranha/gostatic Unfortunately it has no pretty documentation, only README on Github
by piranha 13y ago
Well, here is mine: https://github.com/piranha/gostatic https://github.com/piranha/gostatic
Unfortunately it has no pretty documentation, only README on Github. On the other hand, Hugo seems to have a bit more hardcoded configuration, while gostatic was written with 'whatever you want' idea in mind and is (maybe, I just skimmed though Hugo docs) a bit more tech-savvy people oriented.
Anyway, it would be interesting to compare performance. :)
- spf13 13y agoI 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.
- piranha 13y ago> 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).