Skip to content

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

Open
Tristor wants to merge 4 commits intoyoshiharuyamashita:masterfrom
Tristor:fix-deprecations
Open

Fixes several deprecated items in the them aligned to Hugo version 0.139#132
Tristor wants to merge 4 commits intoyoshiharuyamashita:masterfrom
Tristor:fix-deprecations

Conversation

@Tristor
Copy link
Copy Markdown
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
Copy Markdown
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