Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Date+Time sorting and entry in yaml header #62

qdot opened this Issue Jun 25, 2009 · 1 comment


None yet
3 participants
Copy link

qdot commented Jun 25, 2009

As an alternative to sorting by slug, allow the user to enter a date: field in the yaml header, like so:

title: Generic Post Title
date: 2009-06-21 18:07:09 -08:00

layout: post

Then, after the yaml is loaded, if this field exists, use it instead of the date pulled from the file name.

I've already implemented this on my fork, in a very rudimentary way (doesn't check date validity or anything). The commit URL is:


This comment has been minimized.

Copy link

ascarter commented Apr 11, 2010

This is not totally fixed. The to_liquid generation sees the date as a string and not a date. This is an issue if you want to do an xml feed with to_xmlschema.

I have a fix for this on my fork: git://

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

pointblack pushed a commit to pointblack/jekyll that referenced this issue Feb 3, 2018

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.