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

Timestamp from filesystem or git #38

noss opened this Issue May 9, 2009 · 4 comments


None yet
6 participants

noss commented May 9, 2009

When creating an atom/rss/sitemap xml it would be nice to pick up the last-updated timestamp from the file instead of relying on the date in the filename.


This comment has been minimized.


qrush commented May 9, 2009

The problem with this is editing already published posts, you pretty much run into the same problem. I think using a date option in the YAML front matter would be better.


This comment has been minimized.


bmaland commented May 9, 2009

We've been discussing this in Issue #30. At the moment, the best way to do this is overriding date in YAML, as qrush suggested. Here's an example:

date: 2009-05-09 10:08:39 +02:00

This will override the date parsed from the filename.


This comment has been minimized.


henrik commented May 10, 2009

My fork gets time from the filename (2009-05-09_10-98-my-slug) or from time in the YAML.

I considered using file modification times but after some experimentation it didn't seem like a good idea. Would need some other form of metadata to account for imported old stuff anyway.


This comment has been minimized.


mojombo commented Jun 19, 2010

This was in 0.5.7.

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

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.