You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gh-pages branch (and thus the NUR site) hasn't updated for a couple of days now. Looking through the workflow runs back on the main NUR repo that handle rebuilding this one, it looks like a deprecation warning from Hugo has changed into an error, probably as a result of Nixpkgs updating Hugo from 0.135.0 to 0.136.4.
WARN deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.
| EN
-------------------+------
Pages | 280
Paginator pages | 0
Non-page files | 1
Static files | 219
Processed images | 0
Aliases | 2
Cleaned | 0
Total in 3130 ms
(continues to the actual pushing and publishing steps)
ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Use hugo.IsMultilingual instead.
Total in 3819 ms
Error: error building site: logged 1 error(s)
make: *** [Makefile:3: all] Error 1
This is the only reference to .Site.IsMultiLingual I can find in nur-search's code. I think it just needs to be changed to hugo.IsMultilingual (with no leading ., and a lowercase l), but I can't reproduce the error locally to confirm this fix - it always builds correctly for me, even when using 0.136.4.
The text was updated successfully, but these errors were encountered:
Correction: There are references to .Site.IsMultiLingual in the docDock theme it's using too. (I had missed pulling in submodules somehow. With those in place, I'm getting the same deprecation errors locally.)
The gh-pages branch (and thus the NUR site) hasn't updated for a couple of days now. Looking through the workflow runs back on the main NUR repo that handle rebuilding this one, it looks like a deprecation warning from Hugo has changed into an error, probably as a result of Nixpkgs updating Hugo from 0.135.0 to 0.136.4.
Before (example):
After (example):
This is the only reference to
.Site.IsMultiLingual
I can find innur-search
's code. I think it just needs to be changed tohugo.IsMultilingual
(with no leading.
, and a lowercasel
), but I can't reproduce the error locally to confirm this fix - it always builds correctly for me, even when using 0.136.4.The text was updated successfully, but these errors were encountered: