Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to schedule posts with Jekyll?

I suspect that one of the limitations of running a static site is that the administrator has to be at the helm when he wants a post to be published. I'm looking for that suspicion to be validated. Is there a method I haven't discovered?

like image 774
Corey Avatar asked Feb 07 '11 16:02

Corey


1 Answers

Set the site.future option to false on the _config.yml file.

Then set up a cron task in your server to regenerate your blog every day (or hour, whatever you fancy).

Posts set up in the future will be automatically published when the correct date is reached.

like image 152
kikito Avatar answered Sep 24 '22 02:09

kikito