Lastmod
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, 2024
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, 2024