Skip to content

Building hugo docs website fails due to theme deprecation error #120

@dixon1e

Description

@dixon1e

Cannot build and serve the hugo documentation website from the natster docs directory. Running the command:

hugo server

Causes the errors:

Start building sites …
hugo v0.139.0+extended+withdeploy darwin/arm64 BuildDate=2024-11-18T16:17:45Z VendorInfo=brew

ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.140.0. Use hugo.IsMultilingual instead.
ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.140.0. Implement taxonomy 'social' or use .Site.Params.Social instead.

Attempts to fix this by changing .Site.Social to .Site.Params.Social don't seem to work. Referencing this issue and this PR for the fix. Either way, the theme needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions