You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, .Site.LastChange is set to the first page in the default sort order (hugolib/site.go#L135), which may not be the most recent content if weights were added to the front matter.
This commit makes sure that the `.Site.LastChange` is fetched from the latest page modification date.
Previously, this value was fetched from the last page in the default page sort, which may not be the last by date
if weight is set.
Fixesgohugoio#2909Closesgohugoio#2910
This commit makes sure that the `.Site.LastChange` is fetched from the latest page modification date.
Previously, this value was fetched from the last page in the default page sort, which may not be the last by date
if weight is set.
Fixes#2909Closes#2910
Currently,
.Site.LastChange
is set to the first page in the default sort order (hugolib/site.go#L135), which may not be the most recent content if weights were added to the front matter.See https://discuss.gohugo.io/t/4992
The text was updated successfully, but these errors were encountered: