Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Implement a global {{ site.last_modified_at }} #84

Open
xplosionmind opened this issue Feb 7, 2021 · 2 comments
Open

Implement a global {{ site.last_modified_at }} #84

xplosionmind opened this issue Feb 7, 2021 · 2 comments

Comments

@xplosionmind
Copy link

I would love to add in my website’s footer a variable which displays when was the last change I did to any page of the website.

@fv0
Copy link

fv0 commented Jun 7, 2022

Hi @xplosionmind, I think you can use {{ site.time }} for this (the current time, when you run the jekyll command).

Documentation: https://jekyllrb.com/docs/variables/#site-variables

@xplosionmind
Copy link
Author

Yes, but it works for the whole website, not for when each page is updated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants