Lastmod
Returns the last modification date of site content.
- Syntax
- SITE.Lastmod
- Returns
- time.Time
The Lastmod method on a Site object returns a time.Time value. Use this with time functions and methods. For example:
{{ .Site.Lastmod | time.Format ":date_long" }} → January 31, 2024Last updated:
June 18, 2026
:
Merge commit 'c86d9f4aa8a58931f52df6516f10b67c807505fb' (be780afa7)
Improve this page