Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes several deprecated items in the them aligned to Hugo version 0.139 #132

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Tristor
Copy link
Contributor

@Tristor Tristor commented Dec 9, 2024

There were errors when doing a Hugo build due to deprecations after updating to the latest release, currently version 0.139.

Specifically this resolves three issues:

  1. Site.Social is deprecated in favor of Site.Params.Social
  2. Page.NextPage and Page.PrevPage are deprecated in favor of Page.Next and Page.Prev
  3. Config parameter paginate is deprecated in favor of paginator.pagerSize

With these changes, it builds cleanly without my other changes.

@Tristor
Copy link
Contributor Author

Tristor commented Dec 9, 2024

@yoshiharuyamashita Can you please merge this?

I updated the examples and docs as well as part of this change.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant