r/Jekyll • • Aug 10 '14

Post scheduling with jekyll

http://tuananh.org/2014/08/09/post-scheduling-with-jekyll/
0 Upvotes

6 comments sorted by

2

u/[deleted] Aug 30 '14

There's an easier way, as I just found after getting frustrated with how complicated most people have this set up.

1

u/tuananh_org Aug 30 '14 edited Aug 30 '14

But it only generated posts up to the time that you generate (site.time). Are you using jekyll to serve directly?

I thought people usually use generated html files and serve them by a web server like nginx

1

u/[deleted] Aug 30 '14

At the moment, it does have one issue, because I have never tried to do math in Liquid. The post appears the day after the publish date.

Something to keep in mind, but I'm sticking with it, as it is... Simply because of the ease of use.

1

u/tuananh_org Aug 30 '14

I updated my old reply. Can you take a look again at it again.

1

u/[deleted] Aug 30 '14

I am - and I find it increasingly common, especially for blogs. GitHub Pages uses Jekyll as its backend and you don't have to build. Also, OpenShift, Heroku, and Ninefold all give you a free tier to launch something similarly.

That being said, a work around could be using something like TimeZoneDB's API to define a variable, and then checking that variable using the same sort of method.

1

u/tuananh_org Aug 30 '14

that explains it. I'm using nginx as the web server so my setup is a little bit different.

I used to use Github pages but I want to have more control over my blog so i shifted to self-hosted jekyll. Plus, VPS is cheap (a bit over $1 a month is almost equals to nothing) :D