LoveIt
LoveIt copied to clipboard
How to automatically configure the update time of articles
To start with, sincerely welcome the author to come back. Nevertheless, I have a strange phenomenon when using Lovelt, it seems that there is no option to set the article update time. My ideal situation is to be able to automatically update the article modification time through configuration.
Hugo seems to provide such capabilities, through . Lastmod. Also, we can bind to the submission time of Git.
lastmod in the frontmatter works. It adds a little "Updated at 2024-05-05" in small text at the bottom of posts and puts the updated date in the SEO JSON in the header.