mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 01:23:54 -05:00
704 B
704 B
title | description | categories | keywords | action | expiryDate | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
LastChange | Returns the last modification date of site content. |
|
2025-02-19 |
{{% deprecated-in 0.123.0 %}}
Use .Site.Lastmod
instead.
{{% /deprecated-in %}}
The LastChange
method on a Site
object returns a time.Time
value. Use this with time functions and methods. For example:
{{ .Site.LastChange | time.Format ":date_long" }} → January 31, 2024