Skip to content

Conversation

@bep
Copy link
Member

@bep bep commented Feb 19, 2017

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 #2909
Closes #2910

@bep
Copy link
Member Author

bep commented Feb 19, 2017

@bep bep force-pushed the fix-lastchange branch 2 times, most recently from d1f5e0b to 1364119 Compare February 19, 2017 10:23
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 gohugoio#2909
Closes gohugoio#2910
@moorereason
Copy link
Contributor

Tested, and it works for me. 👍

@bep bep merged commit 6809ea1 into gohugoio:master Feb 19, 2017
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants