Hacker News new | ask | show | jobs
by cpach 1953 days ago
Don’t know about Jekyll but with Hugo you just run hugo server in the Git repo and it will give a a live preview that you can view in the browser, served locally.

It’s very fast.

I have a mockup blog with ~90 pages and it takes 190 ms to generate the whole site.

1 comments

Jekyll would probably handle that in a few seconds.

But, once you approach two to four or five hundreds, it can quickly add up to a minute or two, making it impractical to say the least.

One solution is to run `jekyll build`, which will just build HTML to a directory, and then just removing old Markdowns and serving those generated HTMLs directly via nginx or something.

I've honestly given up and switched to Ghost, where I don't have to worry about that sort of stuff.