How do I access file modification time as template variable? #256

mattdipasquale opened this Issue Dec 21, 2010 · 1 comment


None yet

3 participants


I would like to use the file modification time of any file in _posts to display:

<p>Last updated: Jan 21, 2010</p>

at the top of my posts.

Is this possible?

I know I could add this template variable into the YAML Front Matter myself, but that's annoying. I'd only want to do that to override the file modification time.




#154 is that what are you looking for?

@parkr parkr closed this Mar 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment