uiowa-mgb / website

0 stars 0 forks source link

Website incompatible with up to date hugo #9

Closed erooke closed 1 year ago

erooke commented 1 year ago

Something broke with blowfish in hugo v0.112. I don't know if this is just because the submodule is pinned to an old version or what exactly. This makes it a tad annoying to work on the website locally as you have to go out of your way to download an older version of hugo. For reference hugo is on version v0.115.

For reference this is the output starting on versions v0.112

WARN  config: languages.en.description: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  config: languages.en.displayname: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  config: languages.en.rtl: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  config: languages.en.isocode: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  config: languages.en.dateformat: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
WARN  Module "blowfish" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites … 
hugo v0.114.1+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs

ERROR render of "page" failed: "/home/ethan/code/website/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/home/ethan/code/website/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
ERROR render of "page" failed: "/home/ethan/code/website/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/simple.html:1:4: executing "_default/simple.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/home/ethan/code/website/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
Total in 103 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/ethan/code/website/themes/blowfish/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/home/ethan/code/website/themes/blowfish/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
Joecstarr commented 1 year ago

Did you happen to set the blowfish sub-module to the latest release?