Help with an error after I upgrade

I try to upgrade after long time and I get the following error. Any help?

Thanks in advance

ERROR render of “page” failed: “/home/ari/Sites/xoriopalio/themes/beautifulhugo/layouts/_default/baseof.html:3:5”: execute of template failed: template: _default/single.html:3:5: executing “_default/single.html” at <partial “head.html” .>: error calling partial: “/home/ari/Sites/xoriopalio/themes/beautifulhugo/layouts/partials/head.html:33:38”: execute of template failed: template: partials/head.html:33:38: executing “partials/head.html” at <.URL>: can’t evaluate field URL in type *hugolib.pageState

The URL method on Page was removed a long time ago. Use RelPermalink or Permalink instead.

But do not perform a global search/replace. The URL method is still valid with menu entries and pagination pagers.

Assuming you have not modified the theme, you could simply replace what you have with the current version:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.