hugo/content/en/methods/site/LastChange.md
Bjørn Erik Pedersen 9b0050e9aa Squashed 'docs/' content from commit 5c085a37b
git-subtree-dir: docs
git-subtree-split: 5c085a37b297bf12f59efeaae591418ec025c10d
2024-01-27 10:48:33 +01:00

527 B

title description categories keywords action
LastChange Returns the last modification date of site content.
related returnType signatures
time.Time
SITE.LastChange

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" }} → October 16, 2023