Closed vectorstorm closed 5 years ago
Hm.. your tests seem to be running with Hugo v0.48, which presumably don't support the new "approved" way of doing things. The build logs don't show the actual error, so I'm guessing about what's going wrong.
Up to you what you want to do with this! 0.55 is pretty wordy about how unhappy it is for themes to be calling .Hugo.Generator, but if the New Way isn't working at all with old hugo releases, we're probably stuck with it at least for a while.
Thanks for the PR @vectorstorm. I will update my tests.
In Hugo 0.55 and later,
.Hugo.Generator
has been deprecated, and should instead be invoked ashugo.Generator
. This leads to a couple of noisy deprecation warnings every time Hugo v0.55 or later regenerates a site based upon this theme.This commit makes the necessary changes to make Hugo v0.55+ happy again.