dillonzq / LoveIt

❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
https://hugoloveit.com
MIT License
3.34k stars 1.07k forks source link

How to automatically configure the update time of articles #872

Open dsus-ch opened 2 months ago

dsus-ch commented 2 months ago

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.