HUGO
Menu
GitHub 90640 stars Mastodon

hugo.IsExtended

Reports whether the Hugo binary is the extended edition. Always returns true.
Syntax
hugo.IsExtended
Returns
bool

Deprecated in v0.171.0

The extended and extended/deploy editions are no longer available or needed.

These editions provided WebP image encoding and an embedded LibSass transpiler. The standard and deploy editions now support WebP image encoding, and Hugo uses Dart Sass to transpile Sass to CSS. If you previously used the extended edition, use the standard edition instead. If you previously used the extended/deploy edition, use the deploy edition instead.

As of v0.171.0 the hugo.IsExtended function always returns true.