I haven’t upgraded my blog in some time, but I have upgraded my system (Arch Linux) several times. When trying to start Hugo today with hugo server --disableFastRender -w -D I got this error:
ERROR error building site: render: [en v1.0.0 guest] failed to render pages: render of "/homepage" failed:
"/home/amca/Active/Blogs/Hugo/whats_this/themes/hugo-clarity/layouts/_default/rss.xml:20:50":
execute of template failed: template: rss.xml:20:50: executing "rss.xml" at <.Site.Author.email>:
can't evaluate field Author in type page.Site
If I enter just Hugo, I get this similar error:
ERROR error building site: render: \[en v1.0.0 guest\] failed to render pages:
render of "/categories" failed: "/home/amca/Active/Blogs/Hugo/whats_this/themes/hugo-
clarity/layouts/\_default/rss.xml:20:50": execute of template failed: template: rss.xml:20:50:
executing "rss.xml" at <.Site.Author.email>: can't evaluate field Author in type page.Site
I suspect that the error is caused by Hugo itself on my site, rather than the theme. At any rate, I’m mighty confused and I have no idea how to go on from here. Any help would be gratefully received!
Many thanks. I think the best thing would be to migrate. I’ll do some hunting around and see what I can find about how Hugo is now meant to be configured. For all I know, there may be a migration tool somewhere, although I’m sure it would be a better learning experience to do it all myself.
I’ll set up a new test blog site, and use that as a guide to re-configure my old (well, my current) site.