Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a blog with hundreds of posts. Jekyll would take multiple seconds to process any change (maybe even minutes for the initial build, cannot remember), so iterating over the final touches of a post was really painful.

Hugo builds my whole site in less than 10 seconds and reloads individual post changes in milliseconds. It’s a game changer while previewing edits.



Yeah, but... surely, when you were iterating on a post, you were running Jekyll with --limit_posts or doing an incremental build?

I agree, it's a nuisance that a full build can take a while (my own site, which has almost 600 posts plus a bunch of other random pages, takes at least 30 seconds for a full build, if memory serves), but it's hardly a dealbreaker.


No because if I remember correctly, setting a limit on posts would break the build due to unresolved post cross-references.


You mean links to other posts? So what? Check those in one final full build pass before publishing if it's a concern.


Links to other posts, yes. The build just breaks if you link to a previous post that’s outside of the “limit posts” horizon.


Breaks? How?

Jekyll doesn't enforce or validate links between posts. I know this because I build my site with --limit_posts all the time (it's literally part of my build pipeline due to the way I handle webmentions).

Is there some plugin you were using that was blowing up?


It does. Do you use post_url?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: