From a94a941fe3464d3997fd4f74f5cf9bc781bbc4aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 21 Dec 2025 13:45:12 +0100 Subject: [PATCH] modules: Remove extended edition check With WebP support now in the standard Hugo binary, this warning has too many false positives. Fixes #14284 --- modules/config.go | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/config.go b/modules/config.go index 71f85917b..0bf9d263e 100644 --- a/modules/config.go +++ b/modules/config.go @@ -369,21 +369,16 @@ func (v HugoVersion) String() string { // Hugo binary. func (v HugoVersion) IsValid() bool { current := hugo.CurrentVersion.Version() - if v.Extended && !hugo.IsExtended { - return false - } - - isValid := true if v.Min != "" && current.Compare(v.Min) > 0 { - isValid = false + return false } if v.Max != "" && current.Compare(v.Max) < 0 { - isValid = false + return false } - return isValid + return true } type Import struct { -- 2.39.5