Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Should let me display info about upcoming posts in jekyll From http://stackoverflow.com/questions/24353638/show-only-future-posts-in-jekyll
{% assign curDate = site.time | date: '%s' %}
{% for post in site.posts %}
{% assign postStartDate = post.date | date: '%s' %}
{% if postStartDate >= curDate %}
Post datas here
{% endif %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment