4 ms·
Hugo is way too complex for me as well. Not to mention the awful awful Go template engine. I ended up writing my own static site generator which has a good chu
by Keats 8y ago
Hugo is way too complex for me as well. Not to mention the awful awful Go template engine.
I ended up writing my own static site generator which has a good chunk of the features of Hugo but focusing on ease of use rather than increasing the feature count.
> The speed of generation doesn't seem much of an added advantage since you're gonna do it only once anyway.
I have to disagree on that. My Pelican blog a few years back was taking several seconds to render vs milliseconds now and live reload is instant.
- LolWolf 8y agoNot sure what you mean, but my blog is currently generated by Pelican, and on dev server mode, live reload is unnoticeably fast! (To be fair, my blog is also relatively tiny, so it may be a consequence of this). On the other hand, would love to take a peek at your static site generator, if there is such a difference :)
- Keats 8y agoThe slow part was mostly syntax highlighting and that was at least 3 years ago. Looking at https://github.com/getpelican/pelican/issues/1326 https://github.com/getpelican/pelican/issues/1326 it seems live reload as I mean it (without hard-refresh of the page) is only available through a plugin. > On the other hand, would love to take a peek at your static site generator, if there is such a difference :) Sure: https://github.com/Keats/gutenberg https://github.com/Keats/gutenberg It is going to change name this week or next week though, gutenberg was not original enough :(
- epage 8y ago> gutenberg was not original enough :( And I liked that name.
- kaushalmodi 8y ago> awful awful Go template engine. I find it hard to understand what's so awful about Go Templates. Can you paste few examples of Go templating that you didn't like?