Back to Hugo

Lastmod

docs/content/en/methods/site/Lastmod.md

0.161.1324 B
Original Source

The Lastmod method on a Site object returns a time.Time value. Use this with time functions and methods. For example:

go-html-template
{{ .Site.Lastmod | time.Format ":date_long" }} → January 31, 2024