Skip to content

Clean duplicate Hugo module import for github.com/gethugothemes/hugo-modules/shortcodes/notice #455

@yada

Description

@yada

Description:
During site generation, Hugo shows the following warning:

WARN  module with path "github.com/gethugothemes/hugo-modules/shortcodes/notice" is imported for the same version "v0.0.0-20240925042433-d2b5d05977e8" more than once

Cause:
The module github.com/gethugothemes/hugo-modules/shortcodes/notice appears to be imported multiple times in the Hugo module configuration, even though it uses the same version.

Tasks:

  • Remove duplicate entry in file config/_default/module.toml
  • Clean dependencies:
hugo mod clean
hugo mod get -u
hugo mod tidy
  • Verify that the warning no longer appears during hugo build, and the site is working fine locally.

Goal:
Remove duplicate module imports and ensure a clean, warning-free Hugo build.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions