LoveIt icon indicating copy to clipboard operation
LoveIt copied to clipboard

How to automatically configure the update time of articles

Open EonD3ng opened this issue 2 years ago • 1 comments

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.

EonD3ng avatar Apr 26 '24 13:04 EonD3ng

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.

maco avatar Mar 24 '25 03:03 maco