How to bulk-update the front-matter date last updated field based on the modified date on disk #568
prdsoftware
started this conversation in
General
Replies: 2 comments 2 replies
-
There are varios dates in the Hugo front matter: https://gohugo.io/content-management/front-matter/ As default Docsy shows the date of last modify based on git in the footer of each docs page when in the config.toml parameter |
Beta Was this translation helpful? Give feedback.
1 reply
-
You have to save a adapted partial page-meta-lastmod.html unter your projects layouts/partials folder |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
G'day Docsy fans,
I'm wondering if there is an easy way to bulk-update the date field in the front-matter to correspond with the "Last modified" date on disk for that file?
I have a large site, but most of the dates are not correct. Is there a file utility that people are using for this purpose, or another clever way?
Thanks,
Rod
Beta Was this translation helpful? Give feedback.
All reactions