I was following Hugo's Quick Start guide at https://gohugo.io/getting-started/quick-start/.
hugo server -D, I got the following warning message:
Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
I opened ./themes/ananke/layouts/partials/social-share.html and replace