.Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.
When building a site with mainroad.
After a short search layouts/partials/widgets/languages.html
Line two
{{- if and .Site.IsMultiLingual (gt (len $translations) 0) }}
Have the same issue
Have the same issue
you can search layouts/partials/widgets/languages.html
find {{- if and .Site.IsMultiLingual (gt (len $translations) 0) }}
and then try to use hugo.IsMultilingual instead .Site.IsMultiLingual
i.e. {{- if and hugo.IsMultilingual (gt (len $translations) 0) }}
and run hugo on your site root path
What I wanted to write is actually I have more issues. Vimux kindly refuses to change theme "not to break everyone theme". Well, then I switch to other theme which doesn't have this issue and works with latest versions of hugo. Sad, but true.
@Vimux , What's the status of this? This and #382 is stopping me from using this theme. I've been trying to copy/paste fixes for this, but it's a pain. If this isn't anticipated to be fixed any time soon, I'll look elsewhere.
@Vimux , What's the status of this? This and #382 is stopping me from using this theme. I've been trying to copy/paste fixes for this, but it's a pain. If this isn't anticipated to be fixed any time soon, I'll look elsewhere.
this is fixed on a fork i'm maintaining: https://github.com/mansoorbarri/roadster
@mansoorbarri I switched over to your "roadster" theme, which works great. Thanks for maintaining that!
@mansoorbarri I switched over to your "roadster" theme, which works great. Thanks for maintaining that!
thank you! happy to help.