diff options
author | Joe Mooring <[email protected]> | 2024-02-03 07:44:49 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-03 17:11:06 +0100 |
commit | 3a665ddbf922cb3956710b3d2fb6843142d69e2c (patch) | |
tree | e9a18379f989afe0822daaeb14804d019e84f568 /resources | |
parent | 46575baa02562e4ad05c89f4250287413e38627a (diff) | |
download | hugo-3a665ddbf922cb3956710b3d2fb6843142d69e2c.tar.gz hugo-3a665ddbf922cb3956710b3d2fb6843142d69e2c.zip |
resources/page: Formally deprecate .Site.LastChange
Use .Site.Lastmod instead.
Diffstat (limited to 'resources')
-rw-r--r-- | resources/page/site.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/page/site.go b/resources/page/site.go index 9ef76505d..f2118a3b2 100644 --- a/resources/page/site.go +++ b/resources/page/site.go @@ -263,6 +263,7 @@ func (s *siteWrapper) Taxonomies() TaxonomyList { } func (s *siteWrapper) LastChange() time.Time { + hugo.Deprecate(".Site.LastChange", "Use .Site.Lastmod instead.", "v0.123.0") return s.s.Lastmod() } |