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

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

Closed
ma11hew28 opened this issue Dec 21, 2010 · 1 comment
Closed

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

ma11hew28 opened this issue Dec 21, 2010 · 1 comment

Comments

@ma11hew28
Copy link
Contributor

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.

Thanks!

Matt

@stereobooster
Copy link
Contributor

#154 is that what are you looking for?

@parkr parkr closed this as completed Mar 17, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants