Earlier, I thought this must be a difficult undertaking, but later I found this is relatively easy to accomplish.

The solution was here , posted by funkydan2.

According to Hugo’s documentation on Page Variables , there are two ways to specify last modification date. One way is to specify the .Lastmod in a content’s front matter. That is to …