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 to auto update the content update time ? #129

Closed
zfk513 opened this issue Jan 2, 2020 · 4 comments
Closed

How to auto update the content update time ? #129

zfk513 opened this issue Jan 2, 2020 · 4 comments

Comments

@zfk513
Copy link

zfk513 commented Jan 2, 2020

is it possible update automatically? thx
image

@zfk513
Copy link
Author

zfk513 commented Jan 2, 2020

by markdown modified time

@tfsomrat
Copy link
Contributor

tfsomrat commented Jan 5, 2020

@zfk513 , i made an update, and added lastmod frontmatter. please pull the latest code.

@zfk513
Copy link
Author

zfk513 commented Jan 5, 2020

@zfk513 , i made an update, and added lastmod frontmatter. please pull the latest code.

ths but last mod could be confusing ,it is possible using the GitInfo inside the page? I try several time ,if I put the GitInfo in the index is works fine, butwhen i put it into the content folder ,It just end up with null and I don't know what to do

@tfsomrat
Copy link
Contributor

tfsomrat commented Mar 3, 2020

Check this discussion https://discourse.gohugo.io/t/configure-how-lastmod-date-is-assigned/14190
it might help you

@tfsomrat tfsomrat closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants